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

Age and location verification renderable class. More...

Inheritance diagram for core_auth\output\verify_age_location_page:
renderable templatable

Public Member Functions

 __construct ($form, $errormessage=null)
 Constructor. More...
 
 export_for_template (renderer_base $output)
 Export the page data for the mustache template. More...
 

Protected Attributes

string $errormessage
 Error message.
 
mform $form
 The form object.
 

Detailed Description

Age and location verification renderable class.

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

Constructor & Destructor Documentation

◆ __construct()

core_auth\output\verify_age_location_page::__construct (   $form,
  $errormessage = null 
)

Constructor.

Parameters
mform$formThe form object
string$errormessageThe error message.

Member Function Documentation

◆ export_for_template()

core_auth\output\verify_age_location_page::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: