Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
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. 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...
 
context $context = null
 $context The context for this page.
 
core_competency course_competency[] $coursecompetencylist = array()
 $competencies List of competencies.
 
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: