Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_role_external Class Reference

Role external functions. More...

Inheritance diagram for core_role_external:

Static Public Member Functions

static assign_roles ($assignments)
 Manual role assignments to users.
 
static assign_roles_parameters ()
 Returns description of method parameters.
 
static assign_roles_returns ()
 Returns description of method result value.
 
static unassign_roles ($unassignments)
 Unassign roles from users.
 
static unassign_roles_parameters ()
 Returns description of method parameters.
 
static unassign_roles_returns ()
 Returns description of method result value.
 

Detailed Description

Role external functions.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.2

Member Function Documentation

◆ assign_roles()

static core_role_external::assign_roles ( $assignments)
static

Manual role assignments to users.

Parameters
array$assignmentsAn array of manual role assignment

◆ assign_roles_parameters()

static core_role_external::assign_roles_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ assign_roles_returns()

static core_role_external::assign_roles_returns ( )
static

Returns description of method result value.

Return values
null

◆ unassign_roles()

static core_role_external::unassign_roles ( $unassignments)
static

Unassign roles from users.

Parameters
array$unassignmentsAn array of unassignment

◆ unassign_roles_parameters()

static core_role_external::unassign_roles_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ unassign_roles_returns()

static core_role_external::unassign_roles_returns ( )
static

Returns description of method result value.

Return values
null

The documentation for this class was generated from the following file: