◆ __construct()
| core_courseformat\output\local\overview\overviewtable::__construct |
( |
protected stdClass stdClass | $course, |
|
|
protected string string | $modname ) |
Constructor.
- Parameters
-
| stdClass | $course | the course object. |
| string | $modname | the module name (or "resources" for generic resources overview). |
- Parameters
-
| $course | the course object |
| $modname | the module name (or "resources" for generic resources overview) |
◆ export_for_template()
| core_courseformat\output\local\overview\overviewtable::export_for_template |
( |
renderer_base | $output | ) |
|
Function to export the renderer data in a format that is suitable for a mustache template.
This means:
- No complex types - only stdClass, array, int, string, float, bool
- Any additional info that is required for the template is pre-calculated (e.g. capability checks).
- Parameters
-
| renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
Implements core\output\templatable.
◆ get_template_name()
| core_courseformat\output\local\overview\overviewtable::get_template_name |
( |
renderer_base | $renderer | ) |
|
The documentation for this class was generated from the following file:
- course/format/classes/output/local/overview/overviewtable.php