Context instance data form.
More...
|
| definition () |
| Define the form - called by parent constructor.
|
|
|
static The | $persistentclass = 'tool_dataprivacy\\context_instance' |
| persistent class.
|
|
Context instance data form.
- Copyright
- 2018 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_purpose_category()
tool_dataprivacy\form\context_instance::add_purpose_category |
( |
| $contextlevel = false | ) |
|
|
protected |
Adds purpose and category selectors.
- Parameters
-
int | $contextlevel | Apply this context level defaults. False for no defaults. |
- Return values
-
◆ get_context_instance_customdata()
static tool_dataprivacy\form\context_instance::get_context_instance_customdata |
( |
\context | $context | ) |
|
|
static |
Returns the customdata array for the provided context instance.
- Parameters
-
- Return values
-
◆ get_retention_display_text()
static tool_dataprivacy\form\context_instance::get_retention_display_text |
( |
purpose | $effectivepurpose, |
|
|
| $retentioncontextlevel, |
|
|
context | $context ) |
|
staticprotected |
Returns the purpose display text.
- Parameters
-
purpose | $effectivepurpose | |
int | $retentioncontextlevel | |
context | $context | The context, just for displaying (filters) purposes. |
- Return values
-
The documentation for this class was generated from the following file:
- admin/tool/dataprivacy/classes/form/context_instance.php