|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class class.ilregistrationEmailRoleAssignments. More...
Collaboration diagram for ilRegistrationRoleAssignments:Public Member Functions | |
| __construct () | |
| getRoleByEmail (string $a_email) | |
| getDomainsByRole (int $role_id) | |
| getAssignments () | |
| setDomain (int $id, string $a_domain) | |
| setRole (int $id, int $a_role) | |
| getDefaultRole () | |
| setDefaultRole (int $a_role_id) | |
| deleteAll () | |
| save () | |
| read () | |
Data Fields | |
| const | IL_REG_MISSING_DOMAIN = 1 |
| const | IL_REG_MISSING_ROLE = 2 |
| array | $assignments = [] |
| int | $default_role = 0 |
Protected Attributes | |
| ilDBInterface | $db |
| ilSetting | $settings |
Class class.ilregistrationEmailRoleAssignments.
Definition at line 25 of file class.ilRegistrationRoleAssignments.php.
| ilRegistrationRoleAssignments::__construct | ( | ) |
Definition at line 36 of file class.ilRegistrationRoleAssignments.php.
References $DIC, read(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilRegistrationRoleAssignments::deleteAll | ( | ) |
Definition at line 100 of file class.ilRegistrationRoleAssignments.php.
References read().
Here is the call graph for this function:| ilRegistrationRoleAssignments::getAssignments | ( | ) |
Definition at line 75 of file class.ilRegistrationRoleAssignments.php.
References $assignments.
| ilRegistrationRoleAssignments::getDefaultRole | ( | ) |
Definition at line 90 of file class.ilRegistrationRoleAssignments.php.
References $default_role.
Referenced by getRoleByEmail(), and save().
Here is the caller graph for this function:| ilRegistrationRoleAssignments::getDomainsByRole | ( | int | $role_id | ) |
| ilRegistrationRoleAssignments::getRoleByEmail | ( | string | $a_email | ) |
Definition at line 45 of file class.ilRegistrationRoleAssignments.php.
References ilObject\_lookupType(), and getDefaultRole().
Here is the call graph for this function:| ilRegistrationRoleAssignments::read | ( | ) |
Definition at line 129 of file class.ilRegistrationRoleAssignments.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), and ILIAS\Repository\settings().
Referenced by __construct(), deleteAll(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationRoleAssignments::save | ( | ) |
Definition at line 108 of file class.ilRegistrationRoleAssignments.php.
References $res, getDefaultRole(), read(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilRegistrationRoleAssignments::setDefaultRole | ( | int | $a_role_id | ) |
Definition at line 95 of file class.ilRegistrationRoleAssignments.php.
| ilRegistrationRoleAssignments::setDomain | ( | int | $id, |
| string | $a_domain | ||
| ) |
Definition at line 80 of file class.ilRegistrationRoleAssignments.php.
References $id.
| ilRegistrationRoleAssignments::setRole | ( | int | $id, |
| int | $a_role | ||
| ) |
Definition at line 85 of file class.ilRegistrationRoleAssignments.php.
References $id.
| array ilRegistrationRoleAssignments::$assignments = [] |
Definition at line 30 of file class.ilRegistrationRoleAssignments.php.
Referenced by getAssignments().
|
protected |
Definition at line 33 of file class.ilRegistrationRoleAssignments.php.
| int ilRegistrationRoleAssignments::$default_role = 0 |
Definition at line 31 of file class.ilRegistrationRoleAssignments.php.
Referenced by getDefaultRole().
|
protected |
Definition at line 34 of file class.ilRegistrationRoleAssignments.php.
| const ilRegistrationRoleAssignments::IL_REG_MISSING_DOMAIN = 1 |
Definition at line 27 of file class.ilRegistrationRoleAssignments.php.
| const ilRegistrationRoleAssignments::IL_REG_MISSING_ROLE = 2 |
Definition at line 28 of file class.ilRegistrationRoleAssignments.php.