Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
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:

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: