ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getServerId () | |
getMappings () | |
Get already configured mappings. More... | |
loadFromPost ($a_mappings) | |
validate () | |
Validate mappings. More... | |
save () | |
Save mappings. More... | |
delete ($a_mapping_id) | |
Delete a mapping. More... | |
getMappingInfoString ($a_mapping_id) | |
Create an info string for a role group mapping. More... | |
Static Public Member Functions | |
static | _getInstanceByServerId ($a_server_id) |
Get instance of class. More... | |
static | _deleteByRole ($a_role_id) |
static | _deleteByServerId ($a_server_id) |
static | _getAllActiveMappings () |
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 | |
$server_id = null | |
$db = null | |
$mappings = null | |
Static Private Attributes | |
static | $instances = array() |
Definition at line 32 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Private constructor (Singleton for each server_id)
private
Definition at line 48 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, $ilDB, $lng, and read().
|
static |
Definition at line 76 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjRole\delete().
|
static |
Definition at line 89 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilLDAPServer\delete().
|
static |
Definition at line 102 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $DIC, $ilDB, $query, $res, and $row.
Referenced by ilLDAPRoleGroupMapping\initServers().
|
static |
Get instance of class.
public
int | server_id |
Definition at line 68 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by ilLDAPRoleMappingTableGUI\getItems(), ilLDAPSettingsGUI\initRoleMapping(), and ilLDAPSettingsGUI\roleMapping().
ilLDAPRoleGroupMappingSettings::delete | ( | $a_mapping_id | ) |
Delete a mapping.
public
int | mapping_id |
Definition at line 261 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, $ilDB, $query, $res, getServerId(), and read().
ilLDAPRoleGroupMappingSettings::getMappingInfoString | ( | $a_mapping_id | ) |
Create an info string for a role group mapping.
public
int | mapping_id |
Definition at line 281 of file class.ilLDAPRoleGroupMappingSettings.php.
ilLDAPRoleGroupMappingSettings::getMappings | ( | ) |
Get already configured mappings.
public
Definition at line 143 of file class.ilLDAPRoleGroupMappingSettings.php.
ilLDAPRoleGroupMappingSettings::getServerId | ( | ) |
Definition at line 132 of file class.ilLDAPRoleGroupMappingSettings.php.
References $server_id.
Referenced by delete(), read(), and save().
ilLDAPRoleGroupMappingSettings::loadFromPost | ( | $a_mappings | ) |
Definition at line 148 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $DIC, and ilUtil\stripSlashes().
|
private |
Read mappings.
private
Definition at line 296 of file class.ilLDAPRoleGroupMappingSettings.php.
References $DIC, $query, $res, $row, $tree, ilDBConstants\FETCHMODE_OBJECT, and getServerId().
Referenced by __construct(), delete(), and save().
ilLDAPRoleGroupMappingSettings::save | ( | ) |
Save mappings.
public
Definition at line 214 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $DIC, $ilDB, $query, $res, getServerId(), and read().
ilLDAPRoleGroupMappingSettings::validate | ( | ) |
|
private |
Definition at line 36 of file class.ilLDAPRoleGroupMappingSettings.php.
|
staticprivate |
Definition at line 34 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 37 of file class.ilLDAPRoleGroupMappingSettings.php.
|
private |
Definition at line 35 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by getServerId().
const ilLDAPRoleGroupMappingSettings::MAPPING_INFO_ALL = 1 |
Definition at line 39 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by ilLDAPRoleGroupMapping\initServers().
const ilLDAPRoleGroupMappingSettings::MAPPING_INFO_INFO_ONLY = 0 |
Definition at line 40 of file class.ilLDAPRoleGroupMappingSettings.php.