The import_handler_info class.
More...
|
string | $description |
| $description the description.
|
|
import_strategy | $importstrategy |
| $importstrategy the strategy which will be used to import resources handled by this handler
|
|
string | $modulename |
| $modulename the name of the module.
|
|
The import_handler_info class.
An import_handler_info object represent an resource import handler for a particular module.
- Copyright
- 2020 Jake Dallimore jrhda.nosp@m.llim.nosp@m.ore@g.nosp@m.mail.nosp@m..com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_moodlenet\local\import_handler_info::__construct |
( |
string | $modulename, |
|
|
string | $description, |
|
|
import_strategy | $strategy ) |
The import_handler_info constructor.
- Parameters
-
string | $modulename | the name of the module handling the file extension. E.g. 'label'. |
string | $description | A description of how the module handles files of this extension type. |
import_strategy | $strategy | the strategy which will be used to import the resource. |
- Exceptions
-
◆ get_description()
tool_moodlenet\local\import_handler_info::get_description |
( |
| ) |
|
Get a human readable, localised description of how the file is handled by the module.
- Return values
-
string | the localised description. |
◆ get_module_name()
tool_moodlenet\local\import_handler_info::get_module_name |
( |
| ) |
|
Get the name of the module.
- Return values
-
string | the module name, e.g. 'label'. |
◆ get_strategy()
tool_moodlenet\local\import_handler_info::get_strategy |
( |
| ) |
|
Get the import strategy used by this handler.
- Return values
-
import_strategy | the import strategy object. |
The documentation for this class was generated from the following file:
- admin/tool/moodlenet/classes/local/import_handler_info.php