Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core\external\editmode Class Reference

Web service to change the edit mode. More...

Inheritance diagram for core\external\editmode:

Static Public Member Functions

static change_editmode (bool $setmode, int $contextid)
 Set the given edit mode.
 
static change_editmode_parameters ()
 Description of the parameters suitable for the change_editmode function.
 
static change_editmode_returns ()
 Description of the return value for the change_editmode function.
 

Detailed Description

Web service to change the edit mode.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ change_editmode()

static core\external\editmode::change_editmode ( bool $setmode,
int $contextid )
static

Set the given edit mode.

Parameters
bool$setmodethe new edit mode
int$contextidthe current page context id
Return values
array

◆ change_editmode_parameters()

static core\external\editmode::change_editmode_parameters ( )
static

Description of the parameters suitable for the change_editmode function.

Return values
external_function_parameters

◆ change_editmode_returns()

static core\external\editmode::change_editmode_returns ( )
static

Description of the return value for the change_editmode function.

Return values
external_single_structure

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