This is the external method for renaming a content.
More...
This is the external method for renaming a content.
- Copyright
- 2020 Amaia Anabitarte amaia.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static core_contentbank\external\rename_content::execute |
( |
int | $contentid, |
|
|
string | $name ) |
|
static |
Rename content from the contentbank.
- Since
- Moodle 3.9
- Parameters
-
int | $contentid | The content id to rename. |
string | $name | The new name. |
- Return values
-
array | True 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: