|
stdClass stdClass | $course |
| the course object.
|
|
◆ __construct()
core_courseformat\local\baseactions::__construct |
( |
stdClass | $course | ) |
|
Constructor.
- Parameters
-
stdClass | $course | the course object. |
◆ get_cm_info()
core_courseformat\local\baseactions::get_cm_info |
( |
| $cmid | ) |
|
|
protected |
Get the cm info.
- Parameters
-
- Return values
-
cm_info|null | Information for numbered cm or null if not found |
◆ get_course()
core_courseformat\local\baseactions::get_course |
( |
| ) |
|
|
protected |
Get the course.
- Return values
-
stdClass | the course object. |
◆ get_format()
core_courseformat\local\baseactions::get_format |
( |
| ) |
|
|
protected |
Get the course format.
- Return values
-
course_format | the course format. |
◆ get_section_info()
core_courseformat\local\baseactions::get_section_info |
( |
| $sectionid, |
|
|
int | $strictness = IGNORE_MISSING ) |
|
protected |
Get the section info.
- Parameters
-
int | $sectionid | the section id. |
int | $strictness | Use MUST_EXIST to throw exception if it doesn't |
- Return values
-
section_info|null | Information for numbered section or null if not found |
The documentation for this class was generated from the following file:
- course/format/classes/local/baseactions.php