ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
@classDescription Do role assignemnts More...
Static Public Member Functions | |
static | getDefaultRole ($a_server_id) |
Get default global role. More... | |
static | getAllPossibleRoles ($a_server_id) |
Get all assignable roles (used for import parser) More... | |
static | getAttributeNames ($a_server_id) |
get all possible attribute names More... | |
static | getAssignmentsForUpdate ($a_server_id, $a_usr_id, $a_usr_name, $a_usr_data) |
@global type $ilDB @global type $rbacadmin @global type $rbacreview @global type $ilSetting @global type $ilLog More... | |
static | getAssignmentsForCreation ($a_server_id, $a_usr_name, $a_usr_data) |
static | callPlugin ($a_plugin_id, $a_user_data) |
Call plugin check if the condition matches. More... | |
Data Fields | |
const | ROLE_ACTION_ASSIGN = 'Assign' |
const | ROLE_ACTION_DEASSIGN = 'Detach' |
Static Protected Member Functions | |
static | getAdditionalPluginAttributes ($a_server_id) |
Fetch additional attributes from plugin. More... | |
static | parseRole ($a_role_id, $a_action) |
Parse role. More... | |
Static Protected Attributes | |
static | $active_plugins = null |
static | $default_role = null |
@classDescription Do role assignemnts
Definition at line 32 of file class.ilLDAPRoleAssignmentRules.php.
|
static |
Call plugin check if the condition matches.
object | $a_plugin_id | |
object | $a_user_data |
Definition at line 233 of file class.ilLDAPRoleAssignmentRules.php.
References $ok, and IL_COMP_SERVICE.
Referenced by ilLDAPRoleAssignmentRule\matches().
|
staticprotected |
Fetch additional attributes from plugin.
int | $a_server_id |
Definition at line 273 of file class.ilLDAPRoleAssignmentRules.php.
References $ok, and IL_COMP_SERVICE.
|
static |
Get all assignable roles (used for import parser)
int | $a_server_id |
Definition at line 61 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getDefaultRole().
Referenced by ilLDAPAttributeToUser\refresh().
|
static |
int | $a_server_id | |
object | $a_usr_id | |
object | $a_usr_data |
@access public
Definition at line 181 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $ilLog, $query, $res, $row, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilObject\_lookupTitle(), DB_FETCHMODE_OBJECT, and parseRole().
Referenced by ilLDAPUserSynchronisation\handleAccountMigration(), and ilLDAPAttributeToUser\usersToXML().
|
static |
@global type $ilDB @global type $rbacadmin @global type $rbacreview @global type $ilSetting @global type $ilLog
int | $a_server_id | |
type | $a_usr_id | |
type | $a_usr_name | |
type | $a_usr_data |
Definition at line 118 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $ilLog, $ilSetting, $query, $res, $row, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilObject\_lookupTitle(), DB_FETCHMODE_OBJECT, and parseRole().
Referenced by ilLDAPAttributeToUser\usersToXML().
|
static |
get all possible attribute names
int | $a_server_id |
Definition at line 83 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLDAPQuery\fetchUserProfileFields(), and ilLDAPServer\getPearAtributeArray().
|
static |
Get default global role.
int | $a_server_id |
Definition at line 46 of file class.ilLDAPRoleAssignmentRules.php.
References ilLDAPAttributeMapping\_lookupGlobalRole().
Referenced by getAllPossibleRoles().
|
staticprotected |
Parse role.
int | $a_role_id | |
string | $a_action |
Definition at line 308 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by getAssignmentsForCreation(), and getAssignmentsForUpdate().
|
staticprotected |
Definition at line 37 of file class.ilLDAPRoleAssignmentRules.php.
|
staticprotected |
Definition at line 38 of file class.ilLDAPRoleAssignmentRules.php.
const ilLDAPRoleAssignmentRules::ROLE_ACTION_ASSIGN = 'Assign' |
Definition at line 34 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by ilLDAPUserSynchronisation\handleAccountMigration().
const ilLDAPRoleAssignmentRules::ROLE_ACTION_DEASSIGN = 'Detach' |
Definition at line 35 of file class.ilLDAPRoleAssignmentRules.php.