This is the external API for this component.
More...
This is the external API for this component.
- Copyright
- 2019 Carlos Escobedo carlo.nosp@m.s@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_trusted_h5p_file()
static core_h5p\external::get_trusted_h5p_file |
( |
string | $url, |
|
|
int | $frame, |
|
|
int | $export, |
|
|
int | $embed, |
|
|
int | $copyright ) |
|
static |
Return the H5P file trusted.
The Mobile App needs to work with an H5P package which can trust. And this H5P package is only trusted by the Mobile App once it's been processed by the core checking the right caps, validating the H5P package and doing any clean-up process involved.
- Since
- Moodle 3.8
- Parameters
-
string | $url | H5P file url |
int | $frame | The frame allow to show the bar options below the content |
int | $export | The export allow to download the package |
int | $embed | The embed allow to copy the code to your site |
int | $copyright | The copyright option |
- Return values
-
- Exceptions
-
◆ get_trusted_h5p_file_parameters()
static core_h5p\external::get_trusted_h5p_file_parameters |
( |
| ) |
|
|
static |
get_trusted_h5p_file parameters.
- Since
- Moodle 3.8
- Return values
-
external_function_parameters | |
◆ get_trusted_h5p_file_returns()
static core_h5p\external::get_trusted_h5p_file_returns |
( |
| ) |
|
|
static |
get_trusted_h5p_file return
- Since
- Moodle 3.8
- Return values
-
The documentation for this class was generated from the following file: