Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
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. 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

context_user null $context = null
 $context context. More...
 
array $navigation = array()
 $navigation List of links to display on the page. More...
 
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: