Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
tool_lp\output\user_evidence_list_page Class Reference

Class for the page listing the evidence of prior learning of a user. More...

Inheritance diagram for tool_lp\output\user_evidence_list_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

bool $canmanage
 Can the user manage the evidence.
 
context_user null $context = null
 $context context. More...
 
tool_lp user_evidence[] $evidence = array()
 $evidence List of user evidence.
 
array $navigation = array()
 $navigation List of links to display on the page. More...
 
int null $userid = null
 $userid Userid.
 

Detailed Description

Class for the page listing the evidence of prior learning of a user.

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

Constructor & Destructor Documentation

◆ __construct()

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

Construct this renderable.

Parameters
int$userid

Member Function Documentation

◆ export_for_template()

tool_lp\output\user_evidence_list_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\user_evidence_list_page::$context = null
protected

$context context.


◆ $navigation

array tool_lp\output\user_evidence_list_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: