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