Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Represents a page for showing the error messages. More...
Public Member Functions | |
__construct (array $versionids, $behalfid) | |
Prepare the page for rendering. | |
export_for_template (renderer_base $output) | |
Export the page data for the mustache template. | |
Protected Member Functions | |
prepare_global_page_access () | |
Sets up the global $PAGE and performs the access checks. | |
Represents a page for showing the error messages.
This is used when a user has no permission to agree to policies or accept policies on behalf of defined behalfid.
tool_policy\output\page_nopermission::__construct | ( | array | $versionids, |
$behalfid ) |
Prepare the page for rendering.
array | $versionids | int[] List of policy version ids that were checked. |
int | $behalfid | The userid to consent policies as (such as child's id). |
tool_policy\output\page_nopermission::export_for_template | ( | renderer_base | $output | ) |
Export the page data for the mustache template.
renderer_base | $output | renderer to be used to render the page elements. |
stdClass |
Implements templatable.