Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
Static Public Member Functions | List of all members
core_contentbank\external\rename_content Class Reference
Inheritance diagram for core_contentbank\external\rename_content:

Static Public Member Functions

static execute (int $contentid, string $name)
 Rename content from the contentbank.
 
static execute_parameters ()
 rename_content parameters.
 
static execute_returns ()
 rename_content return.
 

Member Function Documentation

◆ execute()

static core_contentbank\external\rename_content::execute ( int  $contentid,
string  $name 
)
static

Rename content from the contentbank.

Since
Moodle 3.9
Parameters
int$contentidThe content id to rename.
string$nameThe new name.
Return values
arrayTrue if the content has been renamed; false and the warning, otherwise.

◆ execute_parameters()

static core_contentbank\external\rename_content::execute_parameters ( )
static

rename_content parameters.

Since
Moodle 3.9
Return values
external_function_parameters

◆ execute_returns()

static core_contentbank\external\rename_content::execute_returns ( )
static

rename_content return.

Since
Moodle 3.9
Return values
external_single_structure

The documentation for this class was generated from the following file: