|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | moodlecore |
Functions | |
| callback_social_load_content (&$navigation, $course, $coursenode) | |
| limited_load_section_social (&$navigation, $keys, $course, $section) | |
| callback_social_uses_sections () | |
| callback_social_definition () | |
| callback_social_request_key () | |
| callback_social_display_content () | |
| callback_social_load_content | ( | &$ | navigation, |
| $ | course, | ||
| $ | coursenode | ||
| ) |
Used to display the course structure for a course where format=social
This is called automatically by load_course() if the current course format = weeks.
| array | $path | An array of keys to the course node in the navigation |
| stdClass | $modinfo | The mod info object for the current course |
| limited_load_section_social | ( | &$ | navigation, |
| $ | keys, | ||
| $ | course, | ||
| $ | section | ||
| ) |
Used to display the course structure for a course where format=social
This is called automatically by load_course() if the current course format = weeks and the navigation was requested via AJAX
| array | $path | An array of keys to the course node in the navigation |
| stdClass | $modinfo | The mod info object for the current course |