Go to the source code of this file.
Function Documentation
The string that is used to describe a section of the course e.g. Topic, Week...
- Returns:
- string
Definition at line 56 of file lib.php.
Returns a URL to arrive directly at a section
- Parameters:
-
| int | $courseid | The id of the course to get the link for |
| int | $sectionnum | The section number to jump to |
- Returns:
- moodle_url
Definition at line 101 of file lib.php.
Used to display the course structure for a course where format=topic
This is called automatically by load_course() if the current course format = weeks.
- Parameters:
-
| array | $path | An array of keys to the course node in the navigation |
| stdClass | $modinfo | The mod info object for the current course |
- Returns:
- bool Returns true
Definition at line 46 of file lib.php.
The GET argument variable that is used to identify the section being viewed by the user (if there is one)
- Returns:
- string
Definition at line 66 of file lib.php.
Indicates this format uses sections.
- Returns:
- bool Returns true
Definition at line 32 of file lib.php.