Represents a page for showing the error messages.
More...
|
int | $behalfid = null |
| User id who wants to view this page.
|
|
object | $behalfuser = null |
| User who wants to accept this page.
|
|
bool | $haspermissionagreedocs = true |
| True if user has permission to accept policy documents; false otherwise.
|
|
array | $policies = null |
| $policies List of public policies objects.
|
|
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.
- Copyright
- 2018 Sara Arjona sara@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_policy\output\page_nopermission::__construct |
( |
array |
$versionids, |
|
|
|
$behalfid |
|
) |
| |
Prepare the page for rendering.
- Parameters
-
array | $versionids | int[] List of policy version ids that were checked. |
int | $behalfid | The userid to consent policies as (such as child's id). |
◆ export_for_template()
tool_policy\output\page_nopermission::export_for_template |
( |
renderer_base |
$output | ) |
|
Export the page data for the mustache template.
- Parameters
-
renderer_base | $output | renderer to be used to render the page elements. |
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file: