|
static | execute (string $contextlevel, int $instanceid) |
| Returns the TinyMCE configuration for a context.
|
|
static | execute_parameters () |
| Describes the parameters of the external function.
|
|
static | execute_returns () |
| Describes the return structure of the external function.
|
|
◆ execute()
static editor_tiny\external\get_configuration::execute |
( |
string | $contextlevel, |
|
|
int | $instanceid ) |
|
static |
Returns the TinyMCE configuration for a context.
This function serves a similar purpose as editor_tiny\editor\use_editor but with the following differences:
- It does not receive editor or file picker options.
- It only returns information that depends on site settings or permission checks.
- Parameters
-
string | $contextlevel | Context level: system, user, coursecat, course, module or block. |
int | $instanceid | Instance ID of the context (e.g. course ID). |
- Return values
-
◆ execute_parameters()
static editor_tiny\external\get_configuration::execute_parameters |
( |
| ) |
|
|
static |
Describes the parameters of the external function.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static editor_tiny\external\get_configuration::execute_returns |
( |
| ) |
|
|
static |
Describes the return structure of the external function.
- Return values
-
external_single_structure | |
The documentation for this class was generated from the following file:
- lib/editor/tiny/classes/external/get_configuration.php