2012-05-03 19:00:40 +08:00
|
|
|
This files describes API changes for course formats
|
|
|
|
|
|
|
|
Overview of this plugin type at http://docs.moodle.org/dev/Course_formats
|
|
|
|
|
2012-09-25 14:42:25 +08:00
|
|
|
=== 2.4 ===
|
|
|
|
|
|
|
|
* Function settings_navigation::add_course_editing_links() is completely removed, course format
|
|
|
|
functions callback_XXXX_request_key() are no longer used (where XXXX is the course format name)
|
|
|
|
|
2012-05-03 19:00:40 +08:00
|
|
|
=== 2.3 ===
|
|
|
|
|
|
|
|
* The new $course->coursedisplay option was introduced, users can now choose to display
|
|
|
|
a section at a time if the course formats support it:
|
|
|
|
- COURSE_DISPLAY_SINGLEPAGE indicates the teacher has chosen to display all sections on one page
|
|
|
|
- COURSE_DISPLAY_MULTIPAGE indicates the teacher has chose to have seperate pages with each section.
|
|
|
|
|
|
|
|
* The parameter for 'currently active section' was standardised in core:
|
|
|
|
- The course format is passed the currently live section through the $displaysection varaible to format.php
|
|
|
|
- A 'section' paramter is the standardised way to pass around the current section in a course
|
|
|
|
- Navigation no longer looks for custom parameters defined in callback_format_request_key
|