Class containing data for the data registry defaults.
More...
|
bool | $canedit = false |
| $canedit Whether editing is allowed.
|
|
int | $category = null |
| $category The default category for the given mode.
|
|
int | $mode = null |
| $mode The display mode.
|
|
stdClass[] | $otherdefaults = [] |
| $otherdefaults Other defaults for the given mode.
|
|
int | $purpose = null |
| $purpose The default purpose for the given mode.
|
|
Class containing data for the data registry defaults.
- Copyright
- 2018 Jun Pataleta
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_dataprivacy\output\defaults_page::__construct |
( |
|
$mode, |
|
|
|
$category, |
|
|
|
$purpose, |
|
|
|
$otherdefaults = [] , |
|
|
|
$canedit = false |
|
) |
| |
Construct this renderable.
- Parameters
-
int | $mode | The display mode. |
int | $category | The default category for the given mode. |
int | $purpose | The default purpose for the given mode. |
stdClass[] | $otherdefaults | Other defaults for the given mode. |
bool | $canedit | Whether editing is allowed. |
◆ export_for_template()
tool_dataprivacy\output\defaults_page::export_for_template |
( |
renderer_base |
$output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
- Exceptions
-
Implements templatable.
The documentation for this class was generated from the following file: