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

Class containing data for managecompetencies page. More...

Inheritance diagram for tool_lp\output\manage_competencies_page:
renderable templatable

Public Member Functions

 __construct ($framework, $search, $pagecontext, $competency)
 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 $canmanage = false
 $canmanage Result of permissions checks.
 
core_competency competency[] $competencies = array()
 $competencies List of competencies.
 
core_competency competency $competency = null
 $competency The competency to show when the page loads.
 
core_competency competency_framework $framework = null
 $framework This competency framework.
 
array array $navigation = []
 
context $pagecontext = null
 $pagecontext The page context.
 
moodle_url $pluginbaseurl = null
 $pluginurlbase Base url to use constructing links.
 
string $search = ''
 $search Text to search for.
 

Detailed Description

Class containing data for managecompetencies page.

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

Constructor & Destructor Documentation

◆ __construct()

tool_lp\output\manage_competencies_page::__construct ( $framework,
$search,
$pagecontext,
$competency )

Construct this renderable.

Parameters
core_competency\competency_framework$frameworkCompetency framework.
string$searchSearch string.
context$pagecontextThe page context.
core_competency\competency$competencyThe core competency to show when the page loads.

Member Function Documentation

◆ export_for_template()

tool_lp\output\manage_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$outputRenderer base.
Return values
stdClass

Implements templatable.


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