Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
tool_policy\output\acceptances Class Reference

List of users and their acceptances. More...

Inheritance diagram for tool_policy\output\acceptances:
renderable templatable

Public Member Functions

 __construct ($userid, $returnurl=null)
 Contructor. More...
 
 export_for_template (renderer_base $output)
 Export the page data for the mustache template. More...
 

Protected Attributes

moodle_url $returnurl
 
id $userid
 

Detailed Description

List of users and their acceptances.

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

Constructor & Destructor Documentation

◆ __construct()

tool_policy\output\acceptances::__construct (   $userid,
  $returnurl = null 
)

Contructor.

Parameters
int$userid
string | moodle_url$returnurl

Member Function Documentation

◆ export_for_template()

tool_policy\output\acceptances::export_for_template ( renderer_base  $output)

Export the page data for the mustache template.

Parameters
renderer_base$outputrenderer to be used to render the page elements.
Return values
stdClass

Implements templatable.


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