|
ILIAS
eassessment Revision 61809
|
Do role assignemnts More...
Collaboration diagram for ilLDAPRoleAssignmentRules:Static Public Member Functions | |
| static | getDefaultRole () |
| Get default global role. | |
| static | getAllPossibleRoles () |
| Get all assignable roles (used for import parser) | |
| static | getAttributeNames () |
| get all possible attribute names | |
| static | getAssignmentsForUpdate ($a_usr_id, $a_usr_name, $a_usr_data) |
| static | getAssignmentsForCreation ($a_usr_name, $a_usr_data) |
| static | callPlugin ($a_plugin_id, $a_user_data) |
| Call plugin check if the condition matches. | |
Data Fields | |
| const | ROLE_ACTION_ASSIGN = 'Assign' |
| const | ROLE_ACTION_DEASSIGN = 'Detach' |
Static Protected Member Functions | |
| static | getAdditionalPluginAttributes () |
| Fetch additional attributes from plugin. | |
| static | parseRole ($a_role_id, $a_action) |
| Parse role. | |
Static Protected Attributes | |
| static | $active_plugins = null |
| static | $default_role = null |
|
static |
Call plugin check if the condition matches.
| object | $a_plugin_id | |
| object | $a_user_data |
Definition at line 216 of file class.ilLDAPRoleAssignmentRules.php.
References $ok, and IL_COMP_SERVICE.
Referenced by ilLDAPRoleAssignmentRule\matches().
Here is the caller graph for this function:
|
staticprotected |
Fetch additional attributes from plugin.
Definition at line 253 of file class.ilLDAPRoleAssignmentRules.php.
References $ok, and IL_COMP_SERVICE.
|
static |
Get all assignable roles (used for import parser)
Definition at line 63 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getDefaultRole().
Referenced by ilLDAPAttributeToUser\refresh().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| object | $a_usr_id | |
| object | $a_usr_data | public |
Definition at line 165 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $ilLog, $query, $res, $row, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilObject\_lookupTitle(), DB_FETCHMODE_OBJECT, parseRole(), and ROLE_ACTION_ASSIGN.
Referenced by ilAuthContainerApache\fetchData(), ilAuthContainerLDAP\loginObserver(), and ilLDAPAttributeToUser\usersToXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 104 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $ilLog, $ilSetting, $query, $res, $row, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilObject\_lookupTitle(), DB_FETCHMODE_OBJECT, parseRole(), ROLE_ACTION_ASSIGN, and ROLE_ACTION_DEASSIGN.
Referenced by ilLDAPAttributeToUser\usersToXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get all possible attribute names
Definition at line 82 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $name, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLDAPQuery\fetchUserProfileFields(), and ilLDAPServer\getPearAtributeArray().
Here is the caller graph for this function:
|
static |
Get default global role.
Definition at line 45 of file class.ilLDAPRoleAssignmentRules.php.
References $default_role, ilLDAPServer\_getFirstActiveServer(), and ilLDAPAttributeMapping\_lookupGlobalRole().
Referenced by getAllPossibleRoles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Parse role.
| int | $a_role_id | |
| string | $a_action |
Definition at line 288 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by getAssignmentsForCreation(), and getAssignmentsForUpdate().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 37 of file class.ilLDAPRoleAssignmentRules.php.
|
staticprotected |
Definition at line 38 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by getDefaultRole().
| const ilLDAPRoleAssignmentRules::ROLE_ACTION_ASSIGN = 'Assign' |
Definition at line 34 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by ilAuthContainerApache\fetchData(), getAssignmentsForCreation(), getAssignmentsForUpdate(), and ilAuthContainerLDAP\loginObserver().
| const ilLDAPRoleAssignmentRules::ROLE_ACTION_DEASSIGN = 'Detach' |
Definition at line 35 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by getAssignmentsForUpdate().