ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
getServerId () | |
getMappings () | |
Get already configured mappings. More... | |
loadFromPost (array $a_mappings) | |
validate () | |
Validate mappings. More... | |
save () | |
Save mappings. More... | |
delete ($a_mapping_id) | |
Delete a mapping. More... | |
getMappingInfoString (int $a_mapping_id) | |
Create an info string for a role group mapping. More... | |
Static Public Member Functions | |
static | _getInstanceByServerId (int $a_server_id) |
Get instance of class. More... | |
static | _deleteByRole (int $a_role_id) |
static | _deleteByServerId (int $a_server_id) |
Data Fields | |
const | MAPPING_INFO_ALL = 1 |
const | MAPPING_INFO_INFO_ONLY = 0 |
Private Member Functions | |
__construct ($a_server_id) | |
Private constructor (Singleton for each server_id) More... | |
read () | |
Read mappings. More... | |
Private Attributes | |
ilDBInterface | $db |
ilLanguage | $lng |
ilRbacReview | $rbacreview |
ilErrorHandling | $ilErr |
ilObjectDataCache | $ilObjDataCache |
int | $server_id |
array | $mappings = [] |
Static Private Attributes | |
static array | $instances = [] |
Definition at line 24 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Private constructor (Singleton for each server_id)
Definition at line 43 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, ILIAS\Repository\lng(), and read().
|
static |
Definition at line 67 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjRole\delete().
|
static |
Definition at line 80 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $DIC, $ilDB, $query, $res, and ilRbacReview\getObjectOfRole().
Referenced by ilLDAPServer\delete().
|
static |
Get instance of class.
Definition at line 59 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by ilLDAPRoleMappingTableGUI\getItems(), ilLDAPSettingsGUI\initRoleMapping(), and ilLDAPSettingsGUI\roleMapping().
ilLDAPRoleGroupMappingSettings::delete | ( | $a_mapping_id | ) |
Delete a mapping.
int | mapping_id |
Definition at line 234 of file class.ilLDAPRoleGroupMappingSettings.php.
References $query, getServerId(), and read().
ilLDAPRoleGroupMappingSettings::getMappingInfoString | ( | int | $a_mapping_id | ) |
Create an info string for a role group mapping.
int | $a_mapping_id | mapping_id |
Definition at line 250 of file class.ilLDAPRoleGroupMappingSettings.php.
ilLDAPRoleGroupMappingSettings::getMappings | ( | ) |
Get already configured mappings.
Definition at line 132 of file class.ilLDAPRoleGroupMappingSettings.php.
References $mappings.
ilLDAPRoleGroupMappingSettings::getServerId | ( | ) |
Definition at line 124 of file class.ilLDAPRoleGroupMappingSettings.php.
References $server_id.
Referenced by delete(), read(), and save().
ilLDAPRoleGroupMappingSettings::loadFromPost | ( | array | $a_mappings | ) |
Definition at line 137 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, and ilUtil\stripSlashes().
|
private |
Read mappings.
Definition at line 261 of file class.ilLDAPRoleGroupMappingSettings.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and getServerId().
Referenced by __construct(), delete(), and save().
ilLDAPRoleGroupMappingSettings::save | ( | ) |
Save mappings.
public
Definition at line 193 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $query, getServerId(), and read().
ilLDAPRoleGroupMappingSettings::validate | ( | ) |
Validate mappings.
public
Definition at line 165 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, and ILIAS\Repository\lng().
|
private |
Definition at line 28 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 31 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 32 of file class.ilLDAPRoleGroupMappingSettings.php.
|
staticprivate |
Definition at line 26 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 29 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 35 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by getMappings().
|
private |
Definition at line 30 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 34 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by getServerId().
const ilLDAPRoleGroupMappingSettings::MAPPING_INFO_ALL = 1 |
Definition at line 37 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by ilLDAPRoleGroupMapping\initServers().
const ilLDAPRoleGroupMappingSettings::MAPPING_INFO_INFO_ONLY = 0 |
Definition at line 38 of file class.ilLDAPRoleGroupMappingSettings.php.