Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
format_topics\output\courseformat\content Class Reference

Base class to render a course content. More...

Inheritance diagram for format_topics\output\courseformat\content:

Public Member Functions

 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template (core/inplace_editable).
 

Protected Attributes

bool $hasaddsection = true
 Topic format has also add section after each topic.
 

Detailed Description

Base class to render a course content.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ export_for_template()

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$outputtypically, the renderer that's calling this function
Return values
stdClassdata context for a mustache template

The documentation for this class was generated from the following file: