Contains the import_handler_info class.
Copyright: | 2020 Jake Dallimore <jrhdallimore@gmail.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 91 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
import_handler_info:: (4 methods):
__construct()
get_module_name()
get_description()
get_strategy()
Class: import_handler_info - X-Ref
The import_handler_info class.__construct(string $modulename, string $description, import_strategy $strategy) X-Ref |
The import_handler_info constructor. param: string $modulename the name of the module handling the file extension. E.g. 'label'. param: string $description A description of how the module handles files of this extension type. param: import_strategy $strategy the strategy which will be used to import the resource. |
get_module_name() X-Ref |
Get the name of the module. return: string the module name, e.g. 'label'. |
get_description() X-Ref |
Get a human readable, localised description of how the file is handled by the module. return: string the localised description. |
get_strategy() X-Ref |
Get the import strategy used by this handler. return: import_strategy the import strategy object. |