Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
core_courseformat\output\local\overview\activityname Class Reference
Inheritance diagram for core_courseformat\output\local\overview\activityname:
core\output\renderable core\output\named_templatable core\output\templatable

Public Member Functions

 __construct (protected cm_info cm_info $cm,)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 
 get_template_name (renderer_base $renderer)
 Get the template name.
 

Constructor & Destructor Documentation

◆ __construct()

core_courseformat\output\local\overview\activityname::__construct ( protected cm_info cm_info $cm)

Constructor.

Parameters
cm_info$cmThe course module.
Parameters
$cmThe course module.

Member Function Documentation

◆ export_for_template()

core_courseformat\output\local\overview\activityname::export_for_template ( renderer_base $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$outputRenderer base.
Return values
stdClass

Implements core\output\templatable.

◆ get_template_name()

core_courseformat\output\local\overview\activityname::get_template_name ( renderer_base $renderer)

Get the template name.

Parameters
renderer_base$rendererRenderer base.
Return values
string

Implements core\output\named_templatable.


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