Class external.
More...
Class external.
The external API for the Policy tool.
- Copyright
- 2018 Sara Arjona (sara@.nosp@m.mood.nosp@m.le.co.nosp@m.m)
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_policy_version()
static tool_policy\external::get_policy_version |
( |
| $versionid, |
|
|
| $behalfid = null ) |
|
static |
Fetch the details of a policy version.
- Parameters
-
int | $versionid | The policy version ID. |
int | $behalfid | The id of user on whose behalf the user is viewing the policy. |
- Return values
-
- Exceptions
-
◆ get_policy_version_parameters()
static tool_policy\external::get_policy_version_parameters |
( |
| ) |
|
|
static |
Parameter description for get_policy_version_parameters().
- Return values
-
external_function_parameters | |
◆ get_policy_version_returns()
static tool_policy\external::get_policy_version_returns |
( |
| ) |
|
|
static |
Parameter description for get_policy_version().
- Return values
-
◆ submit_accept_on_behalf()
static tool_policy\external::submit_accept_on_behalf |
( |
| $jsonformdata | ) |
|
|
static |
Submit the create group form.
- Parameters
-
string | $jsonformdata | The data from the form, encoded as a json array. |
- Return values
-
◆ submit_accept_on_behalf_parameters()
static tool_policy\external::submit_accept_on_behalf_parameters |
( |
| ) |
|
|
static |
Describes the parameters for submit_create_group_form webservice.
- Return values
-
external_function_parameters | |
◆ submit_accept_on_behalf_returns()
static tool_policy\external::submit_accept_on_behalf_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 3.0
The documentation for this class was generated from the following file:
- admin/tool/policy/classes/external.php