|
| static | autoload ($classname) |
| | SPL Autoloading function for H5P.
|
| |
| static | get_h5p_core_library_base (?string $filepath=null) |
| | Get the base path for the current H5P Core Library.
|
| |
| static | get_h5p_core_library_url (?string $filepath=null, ?array $params=null) |
| | Get a URL for the current H5P Core Library.
|
| |
| static | get_h5p_editor_library_base (?string $filepath=null) |
| | Get the base path for the current H5P Editor Library.
|
| |
| static | get_h5p_editor_library_url (?string $filepath=null, ?array $params=null) |
| | Get a URL for the current H5P Editor Library.
|
| |
| static | get_h5p_library_base () |
| | Get the base path for the H5P Libraries.
|
| |
| static | get_h5p_string (string $identifier, string $language) |
| | Returns a localized string, if it exists in the h5plib plugin and the value it's different from the English version.
|
| |
| static | get_h5p_version () |
| | Get the current version of the H5P core library.
|
| |
|
static | register () |
| | Register the H5P autoloader.
|
| |
|
| static | get_class_list () |
| | Return the list of classes with their location within the joubel directory.
|
| |
◆ autoload()
| static core_h5p\local\library\handler::autoload |
( |
| $classname | ) |
|
|
staticinherited |
SPL Autoloading function for H5P.
- Parameters
-
| string | $classname | The name of the class to load |
◆ get_class_list()
| static core_h5p\local\library\handler::get_class_list |
( |
| ) |
|
|
staticprotectedinherited |
Return the list of classes with their location within the joubel directory.
- Return values
-
◆ get_h5p_core_library_base()
| static core_h5p\local\library\handler::get_h5p_core_library_base |
( |
?string | $filepath = null | ) |
|
|
staticinherited |
Get the base path for the current H5P Core Library.
- Parameters
-
| string | $filepath | The path within the H5P root |
- Return values
-
◆ get_h5p_core_library_url()
| static core_h5p\local\library\handler::get_h5p_core_library_url |
( |
?string | $filepath = null, |
|
|
?array | $params = null ) |
|
staticinherited |
Get a URL for the current H5P Core Library.
- Parameters
-
| string | $filepath | The path within the h5p root |
| array | $params | these params override current params or add new |
- Return values
-
◆ get_h5p_editor_library_base()
| static core_h5p\local\library\handler::get_h5p_editor_library_base |
( |
?string | $filepath = null | ) |
|
|
staticinherited |
Get the base path for the current H5P Editor Library.
- Parameters
-
| null | string | $filepath | The path within the H5P root. |
- Return values
-
| string | Path to a file in the H5P Editor library. |
◆ get_h5p_editor_library_url()
| static core_h5p\local\library\handler::get_h5p_editor_library_url |
( |
?string | $filepath = null, |
|
|
?array | $params = null ) |
|
staticinherited |
Get a URL for the current H5P Editor Library.
- Parameters
-
| string | $filepath | The path within the h5p root. |
| array | $params | These params override current params or add new. |
- Return values
-
| null|moodle_url | The moodle_url to a file in the H5P Editor library. |
◆ get_h5p_library_base()
| static core_h5p\local\library\handler::get_h5p_library_base |
( |
| ) |
|
|
staticinherited |
Get the base path for the H5P Libraries.
- Return values
-
◆ get_h5p_string()
| static core_h5p\local\library\handler::get_h5p_string |
( |
string | $identifier, |
|
|
string | $language ) |
|
staticinherited |
Returns a localized string, if it exists in the h5plib plugin and the value it's different from the English version.
- Parameters
-
| string | $identifier | The key identifier for the localized string |
| string | $language | Language to get the localized string. |
- Return values
-
| string|null | The localized string or null if it doesn't exist in this H5P library plugin. |
◆ get_h5p_version()
| static h5plib_v127\local\library\handler::get_h5p_version |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file:
- h5p/h5plib/v127/classes/local/library/handler.php