Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: