Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
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. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

Protected Attributes

array $competencies
 $competencies
 
context $context
 $context
 
int $courseid
 $courseid
 
int $moduleid
 $moduleid
 

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: