Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core\external\editmode Class Reference
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.
 

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: