User external functions.
More...
User external functions.
- Copyright
- 2011 Jerome Mouneyrac
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Since
- Moodle 2.2
◆ create_users()
static core_user_external::create_users |
( |
| $users | ) |
|
|
static |
Create one or more users.
- Exceptions
-
- Parameters
-
array | $users | An array of users to create. |
- Return values
-
- Since
- Moodle 2.2
◆ create_users_parameters()
static core_user_external::create_users_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.2
◆ create_users_returns()
static core_user_external::create_users_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 2.2
◆ delete_users()
static core_user_external::delete_users |
( |
| $userids | ) |
|
|
static |
Delete users.
- Exceptions
-
- Parameters
-
- Return values
-
- Since
- Moodle 2.2
◆ delete_users_parameters()
static core_user_external::delete_users_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.2
◆ delete_users_returns()
static core_user_external::delete_users_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 2.2
◆ get_users_by_field()
static core_user_external::get_users_by_field |
( |
| $field, |
|
|
| $values ) |
|
static |
Get user information for a unique field.
- Exceptions
-
- Parameters
-
string | $field | |
array | $values | |
- Return values
-
array | An array of arrays containg user profiles. |
- Since
- Moodle 2.4
◆ get_users_by_field_parameters()
static core_user_external::get_users_by_field_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.4
◆ update_user_preferences()
static core_user_external::update_user_preferences |
( |
| $userid = 0, |
|
|
| $emailstop = null, |
|
|
| $preferences = array() ) |
|
static |
Update the user's preferences.
- Parameters
-
int | $userid | |
bool | null | $emailstop | |
array | $preferences | |
- Return values
-
- Since
- Moodle 3.2
◆ update_user_preferences_parameters()
static core_user_external::update_user_preferences_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.2
◆ update_user_preferences_returns()
static core_user_external::update_user_preferences_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 3.2
◆ update_users()
static core_user_external::update_users |
( |
| $users | ) |
|
|
static |
Update users.
- Parameters
-
- Return values
-
- Since
- Moodle 2.2
◆ update_users_parameters()
static core_user_external::update_users_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.2
◆ update_users_returns()
static core_user_external::update_users_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 2.2
The documentation for this class was generated from the following file: