Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_data\external\delete_saved_preset Class Reference
Inheritance diagram for mod_data\external\delete_saved_preset:

Static Public Member Functions

static execute (int $dataid, array $presetnames)
 Delete saved preset from the file system.
 
static execute_parameters ()
 Parameters.
 
static execute_returns ()
 Return.
 

Member Function Documentation

◆ execute()

static mod_data\external\delete_saved_preset::execute ( int $dataid,
array $presetnames )
static

Delete saved preset from the file system.

Parameters
int$dataidId of the data activity to check context and permissions.
array$presetnamesList of saved preset names to delete.
Return values
arrayTrue 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: