ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_auth_ref_id) | |
executeCommand () | |
roleAssignments () | |
Edit role assignments. | |
editRoleAssignment () | |
Edit role assignment. | |
updateRoleAssignment () | |
update role assignment | |
confirmDeleteRules () | |
Confirm delete rules. | |
deleteRules () | |
delete role assignment rule | |
addRoleAssignment () | |
add new role assignment | |
deleteRoleMapping () | |
chooseMapping () | |
saveMapping () | |
serverList () | |
setServerFormValues () | |
save () | |
addRoleAutoCompleteObject () | |
Add Member for autoComplete. | |
userMapping () | |
Ldap User Mapping. | |
roleMapping () | |
Role Mapping Tab ilToolbarGUI $ilToolbar. | |
addRoleMapping () | |
Add Assigments for role mapping. | |
editRoleMapping () | |
Edit Assigments for role mapping. | |
createRoleMapping () | |
Check add screen input and save to db ilRbacReview $rbacreview. | |
updateRoleMapping () | |
Check edit screen input and save to db ilRbacReview $rbacreview. | |
saveSyncronizationSettings () | |
save Syncronization Settings on Role Mapping screen | |
confirmDeleteRoleMapping () | |
confirm delete role mappings |
Protected Member Functions | |
setValuesByArray () | |
set values of form array | |
roleSelection () | |
showRoleSelection () | |
show role selection | |
saveRoleSelection () | |
Save role selection. | |
checkRoleAssignmentInput ($a_rule_id=0) | |
Check role assignment input. | |
getRoleAssignmentTable () | |
Show active role assignments. | |
loadRoleAssignmentRule ($a_rule_id, $a_from_form=true) | |
Load input from form. | |
initFormRoleAssignments ($a_mode) | |
Init form table for new role assignments. |
Private Member Functions | |
initForm () | |
setSubTabs () | |
Set sub tabs for ldap section. | |
initServer () | |
initAttributeMapping () | |
initRoleMapping () | |
prepareGlobalRoleSelection ($a_as_select=true) | |
New implementation for InputForm. | |
prepareRoleSelect ($a_as_select=true) | |
Used for old style table. | |
getMappingFields () | |
initUserDefinedFields () | |
prepareMappingSelect () | |
loadMappingDetails () | |
Load info about hide/show details. | |
hasActiveRoleAssignmentPlugins () | |
Check if the plugin is active. | |
userMappingToolbar () | |
Create Toolbar ilToolbarGUI $ilToolbar. | |
initUserMappingForm () | |
Create Property Form GUI for User Mapping. | |
initRoleMappingForm ($command) | |
init propertyformgui for Assignment of LDAP Attributes to ILIAS User Profile |
Private Attributes | |
$ref_id = null |
ilLDAPSettingsGUI::__construct | ( | $a_auth_ref_id | ) |
Definition at line 37 of file class.ilLDAPSettingsGUI.php.
References $ilCtrl, $lng, $tpl, and initServer().
ilLDAPSettingsGUI::addRoleAssignment | ( | ) |
add new role assignment
public
Definition at line 289 of file class.ilLDAPSettingsGUI.php.
References $_POST, $ilErr, checkRoleAssignmentInput(), getRoleAssignmentTable(), initFormRoleAssignments(), roleAssignments(), roleSelection(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::addRoleAutoCompleteObject | ( | ) |
Add Member for autoComplete.
Definition at line 1254 of file class.ilLDAPSettingsGUI.php.
References ilRoleAutoCompleteInputGUI\echoAutoCompleteList().
ilLDAPSettingsGUI::addRoleMapping | ( | ) |
Add Assigments for role mapping.
Definition at line 1482 of file class.ilLDAPSettingsGUI.php.
References $_GET, and initRoleMappingForm().
|
protected |
Check role assignment input.
int | $a_rule_id |
Definition at line 440 of file class.ilLDAPSettingsGUI.php.
References $ilErr, and loadRoleAssignmentRule().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::chooseMapping | ( | ) |
Definition at line 568 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
ilLDAPSettingsGUI::confirmDeleteRoleMapping | ( | ) |
confirm delete role mappings
Definition at line 1630 of file class.ilLDAPSettingsGUI.php.
References $_POST, and ilUtil\sendFailure().
ilLDAPSettingsGUI::confirmDeleteRules | ( | ) |
Confirm delete rules.
public
Definition at line 228 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendFailure(), and setSubTabs().
ilLDAPSettingsGUI::createRoleMapping | ( | ) |
Check add screen input and save to db ilRbacReview $rbacreview.
Definition at line 1532 of file class.ilLDAPSettingsGUI.php.
References initRoleMappingForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::deleteRoleMapping | ( | ) |
Definition at line 548 of file class.ilLDAPSettingsGUI.php.
References $_POST, initRoleMapping(), roleMapping(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::deleteRules | ( | ) |
delete role assignment rule
public
Definition at line 264 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::editRoleAssignment | ( | ) |
Edit role assignment.
public
Definition at line 121 of file class.ilLDAPSettingsGUI.php.
References $_GET, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), initFormRoleAssignments(), roleAssignments(), ilUtil\sendFailure(), setSubTabs(), and setValuesByArray().
ilLDAPSettingsGUI::editRoleMapping | ( | ) |
Edit Assigments for role mapping.
Definition at line 1509 of file class.ilLDAPSettingsGUI.php.
References $_GET, and initRoleMappingForm().
ilLDAPSettingsGUI::executeCommand | ( | ) |
Definition at line 55 of file class.ilLDAPSettingsGUI.php.
References $cmd, $ilCtrl, $ilErr, and ilUtil\sendFailure().
|
private |
Definition at line 1047 of file class.ilLDAPSettingsGUI.php.
Referenced by initUserMappingForm(), and saveMapping().
|
protected |
Show active role assignments.
Definition at line 454 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getRules().
Referenced by addRoleAssignment().
|
private |
Check if the plugin is active.
Definition at line 1243 of file class.ilLDAPSettingsGUI.php.
References IL_COMP_SERVICE.
Referenced by initFormRoleAssignments().
|
private |
Definition at line 977 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPAttributeMapping\_getInstanceByServerId().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
private |
Definition at line 667 of file class.ilLDAPSettingsGUI.php.
References $pass, ilAdministrationSettingsFormHandler\addFieldsToForm(), ilSubEnabledFormPropertyGUI\addSubItem(), ilRadioOption\addSubItem(), ilAdministrationSettingsFormHandler\FORM_LDAP, ilAdministrationSettingsFormHandler\getSettingsGUIInstance(), IL_LDAP_BIND_ANONYMOUS, IL_LDAP_BIND_USER, IL_LDAP_SCOPE_ONE, IL_LDAP_SCOPE_SUB, prepareRoleSelect(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilCheckboxInputGUI\setOptionTitle(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by save(), and serverList().
|
protected |
Init form table for new role assignments.
string | mode edit | create |
object | object of ilLDAPRoleAsssignmentRule protected |
Definition at line 1114 of file class.ilLDAPSettingsGUI.php.
References ilRadioOption\addSubItem(), hasActiveRoleAssignmentPlugins(), prepareGlobalRoleSelection(), ilFormPropertyGUI\setDisabled(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), ilNonEditableValueGUI\setValue(), ilLDAPRoleAssignmentRule\TYPE_ATTRIBUTE, and ilLDAPRoleAssignmentRule\TYPE_GROUP.
Referenced by addRoleAssignment(), editRoleAssignment(), roleAssignments(), and updateRoleAssignment().
|
private |
Definition at line 983 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPRoleGroupMappingSettings\_getInstanceByServerId().
Referenced by deleteRoleMapping().
|
private |
init propertyformgui for Assignment of LDAP Attributes to ILIAS User Profile
string | $command | command methode |
Definition at line 1411 of file class.ilLDAPSettingsGUI.php.
References $_GET, ilFormPropertyGUI\setPostVar(), and setSubTabs().
Referenced by addRoleMapping(), createRoleMapping(), editRoleMapping(), and updateRoleMapping().
|
private |
Definition at line 967 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPServer\_getFirstServer().
Referenced by __construct().
|
private |
Definition at line 1069 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by initUserMappingForm(), and saveMapping().
|
private |
Create Property Form GUI for User Mapping.
Definition at line 1305 of file class.ilLDAPSettingsGUI.php.
References $lang, getMappingFields(), and initUserDefinedFields().
Referenced by userMapping().
|
private |
Load info about hide/show details.
private
Definition at line 1090 of file class.ilLDAPSettingsGUI.php.
|
protected |
Load input from form.
object | $a_rule_id |
Definition at line 475 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $res, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), QP_COMBINATION_AND, and ilUtil\stripSlashes().
Referenced by checkRoleAssignmentInput(), and saveRoleSelection().
|
private |
New implementation for InputForm.
object | $a_as_select,[optional] |
Definition at line 994 of file class.ilLDAPSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\_sortIds().
Referenced by initFormRoleAssignments().
|
private |
Definition at line 1075 of file class.ilLDAPSettingsGUI.php.
References $_POST, and ilUtil\formSelect().
|
private |
Used for old style table.
object | $a_as_select,[optional] |
Definition at line 1018 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole(), ilObject\_lookupTitle(), ilUtil\_sortIds(), and ilUtil\formSelect().
Referenced by initForm().
ilLDAPSettingsGUI::roleAssignments | ( | ) |
Edit role assignments.
public
Definition at line 88 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilLDAPRoleAssignmentRule\_getRules(), initFormRoleAssignments(), and setSubTabs().
Referenced by addRoleAssignment(), confirmDeleteRules(), deleteRules(), editRoleAssignment(), saveRoleSelection(), and updateRoleAssignment().
ilLDAPSettingsGUI::roleMapping | ( | ) |
Role Mapping Tab ilToolbarGUI $ilToolbar.
Definition at line 1353 of file class.ilLDAPSettingsGUI.php.
References $pass, ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setPostVar(), setSubTabs(), and ilTable2GUI\setTitle().
Referenced by deleteRoleMapping().
|
protected |
Definition at line 336 of file class.ilLDAPSettingsGUI.php.
References $_REQUEST, and $_SESSION.
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::save | ( | ) |
Definition at line 861 of file class.ilLDAPSettingsGUI.php.
References $_GET, $ilErr, initAttributeMapping(), initForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setSubTabs().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 588 of file class.ilLDAPSettingsGUI.php.
References $_POST, getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and userMapping().
|
protected |
Save role selection.
Definition at line 399 of file class.ilLDAPSettingsGUI.php.
References $_REQUEST, $ilErr, loadRoleAssignmentRule(), roleAssignments(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRoleSelection().
ilLDAPSettingsGUI::saveSyncronizationSettings | ( | ) |
save Syncronization Settings on Role Mapping screen
Definition at line 1607 of file class.ilLDAPSettingsGUI.php.
References $_GET, $_POST, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilLDAPSettingsGUI::serverList | ( | ) |
Definition at line 610 of file class.ilLDAPSettingsGUI.php.
References $cmd, $ilErr, ilLDAPServer\checkLDAPLib(), initForm(), ilUtil\sendFailure(), setServerFormValues(), and setSubTabs().
ilLDAPSettingsGUI::setServerFormValues | ( | ) |
Definition at line 632 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole().
Referenced by serverList().
|
private |
Set sub tabs for ldap section.
private
Definition at line 940 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\_getServerList().
Referenced by confirmDeleteRules(), editRoleAssignment(), initRoleMappingForm(), roleAssignments(), roleMapping(), save(), serverList(), showRoleSelection(), and userMapping().
|
protected |
set values of form array
Definition at line 145 of file class.ilLDAPSettingsGUI.php.
References ilObject\_lookupTitle().
Referenced by editRoleAssignment().
|
protected |
show role selection
Definition at line 365 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $res, QP_COMBINATION_AND, and setSubTabs().
Referenced by saveRoleSelection().
ilLDAPSettingsGUI::updateRoleAssignment | ( | ) |
update role assignment
public
Definition at line 179 of file class.ilLDAPSettingsGUI.php.
References $_REQUEST, $ilErr, checkRoleAssignmentInput(), initFormRoleAssignments(), roleAssignments(), roleSelection(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::updateRoleMapping | ( | ) |
Check edit screen input and save to db ilRbacReview $rbacreview.
Definition at line 1570 of file class.ilLDAPSettingsGUI.php.
References $_GET, initRoleMappingForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::userMapping | ( | ) |
Ldap User Mapping.
Definition at line 1263 of file class.ilLDAPSettingsGUI.php.
References initAttributeMapping(), initUserMappingForm(), setSubTabs(), and userMappingToolbar().
Referenced by chooseMapping(), and saveMapping().
|
private |
Create Toolbar ilToolbarGUI $ilToolbar.
Definition at line 1280 of file class.ilLDAPSettingsGUI.php.
References $_POST, and $options.
Referenced by userMapping().
|
private |
Definition at line 35 of file class.ilLDAPSettingsGUI.php.