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

Class containing data for course competencies page. More...

Inheritance diagram for tool_lp\output\course_competencies_page:
renderable templatable

Public Member Functions

 __construct ($courseid, $moduleid)
 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 bool $canconfigurecoursecompetencies = false
 
bool bool $cangradecompetencies = false
 
bool $canmanagecompetencyframeworks = false
 $canmanagecompetencyframeworks Can the current user manage competency frameworks.
 
bool $canmanagecoursecompetencies = false
 $canmanagecoursecompetencies Can the current user manage course competency frameworks.
 
context $context = null
 $context The context for this page.
 
core_competency course_competency[] $coursecompetencylist = array()
 $competencies List of competencies.
 
core persistent null $coursecompetencysettings = null
 
tool_lp course_competency_statistics null $coursecompetencystatistics = null
 
int $courseid = null
 $courseid Course id for this page.
 
string $manageurl = null
 $manageurl manage url.
 
int $moduleid = null
 $moduleid Module id for this page.
 

Detailed Description

Class containing data for course competencies page.

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

Constructor & Destructor Documentation

◆ __construct()

tool_lp\output\course_competencies_page::__construct ( $courseid,
$moduleid )

Construct this renderable.

Parameters
int$courseidThe course record for this page.

Member Function Documentation

◆ export_for_template()

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

Member Data Documentation

◆ $canmanagecoursecompetencies

bool tool_lp\output\course_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: