This is the external method for deleting a saved preset.
More...
This is the external method for deleting a saved preset.
- Since
- Moodle 4.1
- Copyright
- 2022 Amaia Anabitarte amaia.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static mod_data\external\delete_saved_preset::execute |
( |
int | $dataid, |
|
|
array | $presetnames ) |
|
static |
Delete saved preset from the file system.
- Parameters
-
int | $dataid | Id of the data activity to check context and permissions. |
array | $presetnames | List of saved preset names to delete. |
- Return values
-
array | True if the content has been deleted; false and the warning, otherwise. |
◆ execute_parameters()
static mod_data\external\delete_saved_preset::execute_parameters |
( |
| ) |
|
|
static |
Parameters.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static mod_data\external\delete_saved_preset::execute_returns |
( |
| ) |
|
|
static |
Return.
- Return values
-
external_single_structure | |
The documentation for this class was generated from the following file: