Commit | Line | Data |
---|---|---|
2db66a93 DP |
1 | This files describes API changes for course formats |
2 | ||
3 | Overview of this plugin type at http://docs.moodle.org/dev/Course_formats | |
4 | ||
b874d5c6 MG |
5 | === 2.4 === |
6 | ||
7 | * Function settings_navigation::add_course_editing_links() is completely removed, course format | |
8 | functions callback_XXXX_request_key() are no longer used (where XXXX is the course format name) | |
9 | ||
2db66a93 DP |
10 | === 2.3 === |
11 | ||
12 | * The new $course->coursedisplay option was introduced, users can now choose to display | |
13 | a section at a time if the course formats support it: | |
14 | - COURSE_DISPLAY_SINGLEPAGE indicates the teacher has chosen to display all sections on one page | |
15 | - COURSE_DISPLAY_MULTIPAGE indicates the teacher has chose to have seperate pages with each section. | |
16 | ||
17 | * The parameter for 'currently active section' was standardised in core: | |
18 | - The course format is passed the currently live section through the $displaysection varaible to format.php | |
19 | - A 'section' paramter is the standardised way to pass around the current section in a course | |
20 | - Navigation no longer looks for custom parameters defined in callback_format_request_key |