Differences Between: [Versions 400 and 402] [Versions 400 and 403]
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 |
File Size: | 181 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
metadata_registry:: (4 methods):
get_registry_metadata()
format_metadata()
get_full_component_list()
get_contrib_list()
Class: metadata_registry - X-Ref
Class containing helper methods for processing data requests.get_registry_metadata() X-Ref |
Returns plugin types / plugins and the user data that it stores in a format that can be sent to a template. return: array An array with all of the plugin types / plugins and the user data they store. |
format_metadata($collection, $component, $internaldata) X-Ref |
Formats the metadata for use with a template. return: array The internal data array with the formatted metadata. param: array $collection The collection associated with the component that we want to expand and format. param: string $component The component that we are dealing in param: array $internaldata The array to add the formatted metadata to. |
get_full_component_list() X-Ref |
Return the full list of components. return: array An array of plugin types which contain plugin data. |
get_contrib_list() X-Ref |
Returns a list of contributed plugins installed on the system. return: array A list of contributed plugins installed. |