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

Static Public Member Functions

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

Member Function Documentation

◆ execute()

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

Copy content from the contentbank.

Since
Moodle 4.3
Parameters
int$contentidThe content id to copy.
string$nameThe new name.
Return values
arrayId of the new content; false and the warning, otherwise.

◆ execute_parameters()

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

copy_content parameters.

Since
Moodle 4.3
Return values
external_function_parameters

◆ execute_returns()

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

copy_content return.

Since
Moodle 4.3
Return values
external_single_structure

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