Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.
 
 export_for_template (renderer_base $output)
 Export the page data for the mustache template.
 

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: