Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_lp\output\competency_summary Class Reference

Class containing data for competency summary. More...

Inheritance diagram for tool_lp\output\competency_summary:
renderable templatable

Public Member Functions

 __construct ($competency, $framework, $includerelated, $includecourses)
 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

core_competency competency $competency = null
 $competency.
 
course[] $courses = array()
 $courses List of courses.
 
core_competency competency_framework $framework = null
 $framework This competency framework.
 
core_competency competency[] $relatedcompetencies = array()
 $relatedcompetencies List of competencies.
 

Detailed Description

Class containing data for competency summary.

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

Constructor & Destructor Documentation

◆ __construct()

tool_lp\output\competency_summary::__construct ( $competency,
$framework,
$includerelated,
$includecourses )

Construct this renderable.

Parameters
core_competency\competency$competencyCompetency persistent.
core_competency\competency_framework$frameworkframework persistent.
boolean$includerelatedInclude or not related competencies.
boolean$includecoursesInclude or not competency courses.

Member Function Documentation

◆ export_for_template()

tool_lp\output\competency_summary::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 templatable.


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