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

Class containing data for a user learning plans list page. More...

Inheritance diagram for tool_lp\output\plans_page:
renderable templatable

Public Member Functions

 __construct ($userid)
 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

context_user null $context = null
 $context context.
 
array $navigation = array()
 $navigation List of links to display on the page.
 
array core_competency plan[] $plans = array()
 $plans List of plans.
 
int null $userid = null
 $userid Userid.
 

Detailed Description

Class containing data for a user learning plans list page.

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

Constructor & Destructor Documentation

◆ __construct()

tool_lp\output\plans_page::__construct ( $userid)

Construct this renderable.

Parameters
int$userid

Member Function Documentation

◆ export_for_template()

tool_lp\output\plans_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

◆ $context

context_user null tool_lp\output\plans_page::$context = null
protected

$context context.


◆ $navigation

array tool_lp\output\plans_page::$navigation = array()
protected

$navigation List of links to display on the page.

Each link contains a url and a title.


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