ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
getServerId () | |
getMappings () | |
Get already configured mappings. | |
loadFromPost ($a_mappings) | |
validate () | |
Validate mappings. | |
save () | |
Save mappings. | |
delete ($a_mapping_id) | |
Delete a mapping. | |
getMappingInfoString ($a_mapping_id) | |
Create an info string for a role group mapping. |
Static Public Member Functions | |
static | _getInstanceByServerId ($a_server_id) |
Get instance of class. | |
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) | |
read () | |
Read mappings. |
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 |
|
static |
Definition at line 74 of file class.ilLDAPRoleGroupMappingSettings.php.
References $ilDB, $query, and $res.
Referenced by ilObjRole\delete().
|
static |
|
static |
Definition at line 96 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $ilDB, $query, $res, and $row.
Referenced by ilLDAPRoleGroupMapping\initServers().
|
static |
Get instance of class.
public
int | server_id |
Definition at line 65 of file class.ilLDAPRoleGroupMappingSettings.php.
Referenced by ilLDAPSettingsGUI\initRoleMapping().
ilLDAPRoleGroupMappingSettings::delete | ( | $a_mapping_id | ) |
Delete a mapping.
public
int | mapping_id |
Definition at line 254 of file class.ilLDAPRoleGroupMappingSettings.php.
References $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 272 of file class.ilLDAPRoleGroupMappingSettings.php.
ilLDAPRoleGroupMappingSettings::getMappings | ( | ) |
Get already configured mappings.
public
Definition at line 135 of file class.ilLDAPRoleGroupMappingSettings.php.
ilLDAPRoleGroupMappingSettings::getServerId | ( | ) |
Definition at line 124 of file class.ilLDAPRoleGroupMappingSettings.php.
References $server_id.
Referenced by delete(), read(), and save().
ilLDAPRoleGroupMappingSettings::loadFromPost | ( | $a_mappings | ) |
Definition at line 140 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, and ilUtil\stripSlashes().
|
private |
Read mappings.
private
Definition at line 287 of file class.ilLDAPRoleGroupMappingSettings.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and getServerId().
Referenced by __construct(), delete(), and save().
ilLDAPRoleGroupMappingSettings::save | ( | ) |
Save mappings.
public
Definition at line 204 of file class.ilLDAPRoleGroupMappingSettings.php.
References $data, $ilDB, $query, $res, getServerId(), and read().
ilLDAPRoleGroupMappingSettings::validate | ( | ) |
Validate mappings.
public
Definition at line 171 of file class.ilLDAPRoleGroupMappingSettings.php.
|
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.