Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

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.
 
bool bool $canmanagetemplatecompetencies = false
 true if the user has this capability.
 
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.

◆ $canmanagetemplatecompetencies

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

true if the user has this capability.

Otherwise false.


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