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.
Gets the name for the provided section.
- Parameters:
-
| stdClass | $course | |
| stdClass | $section | |
- Returns:
- string
Definition at line 77 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 123 of file lib.php.
Used to display the course structure for a course where format=weeks
This is called automatically by load_course() if the current course format = weeks.
- Parameters:
-
| navigation_node | $navigation | The course node |
| array | $path | An array of keys to the course node |
| stdClass | $course | The course we are loading the section for |
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.