|
const | MATRIX_USER_PREFIX = 'user' |
| Prefix for Matrix usernames when they are detected as numeric.
|
|
◆ create_matrix_user_profile_fields()
static communication_matrix\matrix_user_manager::create_matrix_user_profile_fields |
( |
| ) |
|
|
static |
Insert "Communication" category and "matrixuserid" field.
- Return values
-
◆ get_formatted_matrix_home_server()
static communication_matrix\matrix_user_manager::get_formatted_matrix_home_server |
( |
| ) |
|
|
static |
Sets home server for user matrix id.
- Return values
-
◆ get_formatted_matrix_userid()
static communication_matrix\matrix_user_manager::get_formatted_matrix_userid |
( |
string | $username | ) |
|
|
static |
Get a qualified matrix user id based on a Moodle username.
- Parameters
-
string | $username | The moodle username to turn into a Matrix username |
- Return values
-
◆ get_matrixid_from_moodle()
static communication_matrix\matrix_user_manager::get_matrixid_from_moodle |
( |
int | $userid | ) |
|
|
static |
Gets matrix user id from moodle.
- Parameters
-
- Return values
-
◆ get_profile_field_name()
static communication_matrix\matrix_user_manager::get_profile_field_name |
( |
| ) |
|
|
staticprotected |
Get the profile field name, creating the profiel field if it does not exist.
- Return values
-
◆ load_requirements()
static communication_matrix\matrix_user_manager::load_requirements |
( |
| ) |
|
|
staticprotected |
Load requirements for profile field management.
This is just a helper to keep loading legacy files isolated.
◆ set_matrix_userid_in_moodle()
static communication_matrix\matrix_user_manager::set_matrix_userid_in_moodle |
( |
int | $userid, |
|
|
string | $matrixuserid ) |
|
static |
Add user's Matrix user id.
- Parameters
-
The documentation for this class was generated from the following file:
- communication/provider/matrix/classes/matrix_user_manager.php