Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_files\external\delete\draft Class Reference

This is the external method for deleting draft files. More...

Inheritance diagram for core_files\external\delete\draft:

Static Public Member Functions

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.
 

Detailed Description

This is the external method for deleting draft files.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ 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$draftitemiditem id of the draft file area
array$filesfiles to be deleted
Return values
arrayof 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: