Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
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. 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

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: