Class for exporting field data.
More...
|
| static | get_name ($categoryid) |
| | Utility function that fetches a category name from the given ID.
|
| |
|
| static | define_class () |
| | Defines the persistent class.
|
| |
| static | define_properties () |
| | Persistent exporters get their standard properties from the persistent class.
|
| |
| static | define_related () |
| | Returns a list of objects that are related.
|
| |
|
|
core persistent | $persistent = null |
| | The persistent object we will export.
|
| |
Class for exporting field data.
- Copyright
- 2018 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ define_class()
| static tool_dataprivacy\external\category_exporter::define_class |
( |
| ) |
|
|
staticprotected |
◆ define_properties()
| static core\external\persistent_exporter::define_properties |
( |
| ) |
|
|
staticfinalprotectedinherited |
Persistent exporters get their standard properties from the persistent class.
- Return values
-
| array | Keys are the property names, and value their definition. |
◆ define_related()
| static tool_dataprivacy\external\category_exporter::define_related |
( |
| ) |
|
|
staticprotected |
Returns a list of objects that are related.
- Return values
-
◆ get_name()
| static tool_dataprivacy\external\category_exporter::get_name |
( |
| $categoryid | ) |
|
|
static |
Utility function that fetches a category name from the given ID.
- Parameters
-
| int | $categoryid | The category ID. Could be INHERIT (false, -1), NOT_SET (0), or the actual ID. |
- Return values
-
The documentation for this class was generated from the following file:
- admin/tool/dataprivacy/classes/external/category_exporter.php