|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Class external. More...
Static Public Member Functions | |
| static | get_policy_version ($versionid, $behalfid=null) |
| Fetch the details of a policy version. | |
| static | get_policy_version_parameters () |
| Parameter description for get_policy_version_parameters(). | |
| static | get_policy_version_returns () |
| Parameter description for get_policy_version(). | |
| static | submit_accept_on_behalf ($jsonformdata) |
| Submit the create group form. | |
| static | submit_accept_on_behalf_parameters () |
| Describes the parameters for submit_create_group_form webservice. | |
| static | submit_accept_on_behalf_returns () |
| Returns description of method result value. | |
Class external.
The external API for the Policy tool.
|
static |
Fetch the details of a policy version.
| int | $versionid | The policy version ID. |
| int | $behalfid | The id of user on whose behalf the user is viewing the policy. |
| array |
| coding_exception | |
| dml_exception | |
| invalid_parameter_exception | |
| restricted_context_exception | |
| moodle_exception |
|
static |
Parameter description for get_policy_version_parameters().
| external_function_parameters |
|
static |
Parameter description for get_policy_version().
| core_external\external_description |
|
static |
Submit the create group form.
| string | $jsonformdata | The data from the form, encoded as a json array. |
| int | new group id. |
|
static |
Describes the parameters for submit_create_group_form webservice.
| external_function_parameters |
|
static |
Returns description of method result value.
| core_external\external_description |