Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
tool_lp\output\template_competencies_page Class Reference

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

Inheritance diagram for tool_lp\output\template_competencies_page:
renderable templatable

Public Member Functions

 __construct (template $template, context $pagecontext)
 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

bool $canmanagecompetencyframeworks = false
 $canmanagecompetencyframeworks Can the current user manage competency frameworks.
 
bool $canmanagecoursecompetencies = false
 $canmanagecoursecompetencies Can the current user manage course competency frameworks. More...
 
core_competency competency[] $competencies = array()
 $competencies List of competencies.
 
string $manageurl = null
 $manageurl manage url.
 
context $pagecontext = null
 $pagecontext The page context.
 
template $template = null
 $template Template for this page.
 
template_statistics $templatestatistics = null
 $templatestatistics The generated summary statistics for this template.
 

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()

tool_lp\output\template_competencies_page::__construct ( template  $template,
context  $pagecontext 
)

Construct this renderable.

Parameters
template$templateThe learning plan template.
context$pagecontextThe page context.

Member Function Documentation

◆ export_for_template()

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

Member Data Documentation

◆ $canmanagecoursecompetencies

bool tool_lp\output\template_competencies_page::$canmanagecoursecompetencies = false
protected

$canmanagecoursecompetencies Can the current user manage course competency frameworks.


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