Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
report_competency\output\report Class Reference

Class containing data for learning plan template competencies page. More...

Inheritance diagram for report_competency\output\report:
renderable templatable

Public Member Functions

 __construct ($courseid, $userid, $moduleid)
 Construct this renderable.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Protected Attributes

array $competencies
 $competencies
 
context $context
 $context
 
int $courseid
 $courseid
 
int $moduleid
 $moduleid
 
int $userid
 The user id.
 

Detailed Description

Class containing data for learning plan template competencies page.

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

Constructor & Destructor Documentation

◆ __construct()

report_competency\output\report::__construct ( $courseid,
$userid,
$moduleid )

Construct this renderable.

Parameters
int$courseidThe course id
int$useridThe user id
int$moduleidThe module id

Member Function Documentation

◆ export_for_template()

report_competency\output\report::export_for_template ( renderer_base $output)

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

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


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