external
class external extends external_api
Constants
| MAX_CONTEXTS_RETURNED |
|
Methods
static external_function_parameters
potential_contexts_parameters()
potential_contexts parameters.
static array
potential_contexts(string|null $query = null)
Return the contexts that match the provided query.
static external_description|external_multiple_structure
potential_contexts_returns()
potential_contexts return.
static external_function_parameters
potential_users_parameters()
potential_users parameters.
static array
potential_users(string|null $query = null, bool $searchanywhere = true, int $page = 0, int $perpage = 30, int|null $courseid = null)
Return the users that match the provided query.
static external_multiple_structure
potential_users_returns()
potential_users return.
static array
get_basic_search_conditions(context $context, string $search, bool $searchanywhere)
No description
Details
at line 50
static external_function_parameters
potential_contexts_parameters()
potential_contexts parameters.
at line 67
static array
potential_contexts(string|null $query = null)
Return the contexts that match the provided query.
at line 93
static external_description|external_multiple_structure
potential_contexts_returns()
potential_contexts return.
at line 108
static external_function_parameters
potential_users_parameters()
potential_users parameters.
at line 135
static array
potential_users(string|null $query = null, bool $searchanywhere = true, int $page = 0, int $perpage = 30, int|null $courseid = null)
Return the users that match the provided query.
at line 227
static external_multiple_structure
potential_users_returns()
potential_users return.
at line 243
static protected array
get_basic_search_conditions(context $context, string $search, bool $searchanywhere)
No description