Class containing helper methods for processing data requests.
More...
|
| get_registry_metadata () |
| Returns plugin types / plugins and the user data that it stores in a format that can be sent to a template. More...
|
|
Class containing helper methods for processing data requests.
- Copyright
- 2018 Adrian Greeve
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ format_metadata()
tool_dataprivacy\metadata_registry::format_metadata |
( |
|
$collection, |
|
|
|
$component, |
|
|
|
$internaldata |
|
) |
| |
|
protected |
Formats the metadata for use with a template.
- Parameters
-
array | $collection | The collection associated with the component that we want to expand and format. |
string | $component | The component that we are dealing in |
array | $internaldata | The array to add the formatted metadata to. |
- Return values
-
array | The internal data array with the formatted metadata. |
◆ get_contrib_list()
tool_dataprivacy\metadata_registry::get_contrib_list |
( |
| ) |
|
|
protected |
Returns a list of contributed plugins installed on the system.
- Return values
-
array | A list of contributed plugins installed. |
◆ get_full_component_list()
tool_dataprivacy\metadata_registry::get_full_component_list |
( |
| ) |
|
|
protected |
Return the full list of components.
- Return values
-
array | An array of plugin types which contain plugin data. |
◆ get_registry_metadata()
tool_dataprivacy\metadata_registry::get_registry_metadata |
( |
| ) |
|
Returns plugin types / plugins and the user data that it stores in a format that can be sent to a template.
- Return values
-
array | An array with all of the plugin types / plugins and the user data they store. |
The documentation for this class was generated from the following file: