Base class to render a course content.
More...
|
string | $addsectionclass |
| the add section output class name
|
|
string | $bulkedittoolsclass |
| bulk editor bar toolbox
|
|
core_courseformat base | $format |
| the course format class
|
|
bool | $hasaddsection = false |
| Topic format has add section after each topic.
|
|
string | $sectionclass |
| the section format class
|
|
string | $sectionnavigationclass |
| section navigation class name
|
|
string | $sectionselectorclass |
| section selector class name
|
|
Base class to render a course content.
- Copyright
- 2020 Ferran Recio ferra.nosp@m.n@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ export_for_template() [1/2]
core_courseformat\output\local\content::export_for_template |
( |
\renderer_base | $output | ) |
|
|
inherited |
Export this data so it can be used as the context for a mustache template (core/inplace_editable).
- Parameters
-
renderer_base | $output | typically, the renderer that's calling this function |
- Return values
-
stdClass | data context for a mustache template |
◆ export_for_template() [2/2]
format_topics\output\courseformat\content::export_for_template |
( |
renderer_base | $output | ) |
|
Export this data so it can be used as the context for a mustache template (core/inplace_editable).
- Parameters
-
renderer_base | $output | typically, the renderer that's calling this function |
- Return values
-
stdClass | data context for a mustache template |
Implements templatable.
◆ export_sections()
core_courseformat\output\local\content::export_sections |
( |
\renderer_base | $output | ) |
|
|
protectedinherited |
Export sections array data.
- Parameters
-
renderer_base | $output | typically, the renderer that's calling this function |
- Return values
-
array | data context for a mustache template |
◆ get_template_name()
core\output\named_templatable::get_template_name |
( |
\renderer_base | $renderer | ) |
|
|
inherited |
◆ $hasaddsection
bool format_topics\output\courseformat\content::$hasaddsection = false |
|
protected |
The documentation for this class was generated from the following file:
- course/format/topics/classes/output/courseformat/content.php