This is the external method for deleting draft files.
More...
|
static | execute (int $draftitemid, array $files) |
| Delete the indicated files (or directories) from a user draft file area.
|
|
static | execute_parameters () |
| Describes the parameters for execute.
|
|
static | execute_returns () |
| Describes the execute return value.
|
|
This is the external method for deleting draft files.
- Copyright
- 2020 Juan Leyva juan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static core_files\external\delete\draft::execute |
( |
int | $draftitemid, |
|
|
array | $files ) |
|
static |
Delete the indicated files (or directories) from a user draft file area.
- Parameters
-
int | $draftitemid | item id of the draft file area |
array | $files | files to be deleted |
- Return values
-
array | of warnings and parent paths of the files deleted |
- Since
- Moodle 3.10
◆ execute_parameters()
static core_files\external\delete\draft::execute_parameters |
( |
| ) |
|
|
static |
Describes the parameters for execute.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.10
◆ execute_returns()
static core_files\external\delete\draft::execute_returns |
( |
| ) |
|
|
static |
Describes the execute return value.
- Return values
-
external_single_structure | |
- Since
- Moodle 3.10
The documentation for this class was generated from the following file:
- files/classes/external/delete/draft.php