ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($a_auth_ref_id) | |
executeCommand () | |
getServer () | |
Get server settings. More... | |
roleAssignments () | |
Edit role assignments. More... | |
editRoleAssignment () | |
Edit role assignment. More... | |
updateRoleAssignment () | |
update role assignment More... | |
confirmDeleteRules () | |
Confirm delete rules. More... | |
deleteRules () | |
delete role assignment rule More... | |
addRoleAssignment () | |
add new role assignment More... | |
deleteRoleMapping () | |
chooseMapping () | |
saveMapping () | |
serverList () | |
setServerFormValues () | |
save () | |
addRoleAutoCompleteObject () | |
Add Member for autoComplete. More... | |
roleMapping () | |
Role Mapping Tab ilToolbarGUI $ilToolbar. More... | |
editRoleMapping () | |
Edit Assigments for role mapping. More... | |
createRoleMapping () | |
Check add screen input and save to db ilRbacReview $rbacreview. More... | |
confirmDeleteRoleMapping () | |
confirm delete role mappings More... | |
addServerSettings () | |
editServerSettings () | |
confirmDeleteServerSettings () | |
Confirm delete rules. More... | |
deleteServerSettings () | |
userMapping () | |
Ldap User Mapping. More... | |
activateServer () | |
deactivateServer () | |
addRoleMapping () | |
Add Assigments for role mapping. More... | |
updateRoleMapping () | |
Check edit screen input and save to db ilRbacReview $rbacreview. More... | |
saveSyncronizationSettings () | |
save Syncronization Settings on Role Mapping screen More... | |
Protected Member Functions | |
setValuesByArray () | |
set values of form array More... | |
roleSelection () | |
showRoleSelection () | |
show role selection More... | |
saveRoleSelection () | |
Save role selection. More... | |
checkRoleAssignmentInput ($a_rule_id=0) | |
Check role assignment input. More... | |
getRoleAssignmentTable () | |
Show active role assignments. More... | |
loadRoleAssignmentRule ($a_rule_id, $a_from_form=true) | |
Load input from form. More... | |
initFormRoleAssignments ($a_mode) | |
Init form table for new role assignments. More... | |
Private Member Functions | |
initForm () | |
setSubTabs () | |
Set sub tabs for ldap section. More... | |
initServer () | |
initAttributeMapping () | |
initRoleMapping () | |
prepareGlobalRoleSelection ($a_as_select=true) | |
New implementation for InputForm. More... | |
prepareRoleSelect ($a_as_select=true) | |
Used for old style table. More... | |
getMappingFields () | |
initUserDefinedFields () | |
prepareMappingSelect () | |
loadMappingDetails () | |
Load info about hide/show details. More... | |
hasActiveRoleAssignmentPlugins () | |
Check if the plugin is active. More... | |
userMappingToolbar () | |
Create Toolbar ilToolbarGUI $ilToolbar. More... | |
initUserMappingForm () | |
Create Property Form GUI for User Mapping. More... | |
initRoleMappingForm ($command) | |
init propertyformgui for Assignment of LDAP Attributes to ILIAS User Profile More... | |
Private Attributes | |
$ref_id = null | |
$server = null | |
ilLDAPSettingsGUI::__construct | ( | $a_auth_ref_id | ) |
Definition at line 38 of file class.ilLDAPSettingsGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and initServer().
ilLDAPSettingsGUI::activateServer | ( | ) |
Definition at line 1595 of file class.ilLDAPSettingsGUI.php.
References serverList().
ilLDAPSettingsGUI::addRoleAssignment | ( | ) |
add new role assignment
public
Definition at line 288 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 1275 of file class.ilLDAPSettingsGUI.php.
References ilRoleAutoCompleteInputGUI\echoAutoCompleteList().
ilLDAPSettingsGUI::addRoleMapping | ( | ) |
Add Assigments for role mapping.
Definition at line 1690 of file class.ilLDAPSettingsGUI.php.
References $_GET, and initRoleMappingForm().
ilLDAPSettingsGUI::addServerSettings | ( | ) |
Definition at line 1505 of file class.ilLDAPSettingsGUI.php.
References initForm().
|
protected |
Check role assignment input.
int | $a_rule_id |
Definition at line 430 of file class.ilLDAPSettingsGUI.php.
References $ilErr, and loadRoleAssignmentRule().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::chooseMapping | ( | ) |
Definition at line 548 of file class.ilLDAPSettingsGUI.php.
References $_POST, $key, ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
ilLDAPSettingsGUI::confirmDeleteRoleMapping | ( | ) |
confirm delete role mappings
Definition at line 1474 of file class.ilLDAPSettingsGUI.php.
References $_POST, $id, $txt, and ilUtil\sendFailure().
ilLDAPSettingsGUI::confirmDeleteRules | ( | ) |
Confirm delete rules.
public
Definition at line 231 of file class.ilLDAPSettingsGUI.php.
References $_POST, $rule, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendFailure(), and setSubTabs().
ilLDAPSettingsGUI::confirmDeleteServerSettings | ( | ) |
Confirm delete rules.
public
Definition at line 1531 of file class.ilLDAPSettingsGUI.php.
References $_GET, array, ilUtil\sendFailure(), and serverList().
ilLDAPSettingsGUI::createRoleMapping | ( | ) |
Check add screen input and save to db ilRbacReview $rbacreview.
Definition at line 1441 of file class.ilLDAPSettingsGUI.php.
References initRoleMappingForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::deactivateServer | ( | ) |
Definition at line 1602 of file class.ilLDAPSettingsGUI.php.
References serverList().
ilLDAPSettingsGUI::deleteRoleMapping | ( | ) |
Definition at line 530 of file class.ilLDAPSettingsGUI.php.
References $_POST, initRoleMapping(), roleMapping(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::deleteRules | ( | ) |
delete role assignment rule
public
Definition at line 265 of file class.ilLDAPSettingsGUI.php.
References $_POST, $rule, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::deleteServerSettings | ( | ) |
Definition at line 1560 of file class.ilLDAPSettingsGUI.php.
References $_POST, array, ilUtil\sendFailure(), ilUtil\sendSuccess(), and serverList().
ilLDAPSettingsGUI::editRoleAssignment | ( | ) |
Edit role assignment.
public
Definition at line 130 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 1416 of file class.ilLDAPSettingsGUI.php.
References $_GET, and initRoleMappingForm().
ilLDAPSettingsGUI::editServerSettings | ( | ) |
Definition at line 1513 of file class.ilLDAPSettingsGUI.php.
References initForm(), setServerFormValues(), and setSubTabs().
ilLDAPSettingsGUI::executeCommand | ( | ) |
Definition at line 60 of file class.ilLDAPSettingsGUI.php.
References $ilCtrl, $ilErr, and ilUtil\sendFailure().
|
private |
Definition at line 1072 of file class.ilLDAPSettingsGUI.php.
References array.
Referenced by initUserMappingForm(), and saveMapping().
|
protected |
Show active role assignments.
Definition at line 444 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getRules().
Referenced by addRoleAssignment().
ilLDAPSettingsGUI::getServer | ( | ) |
Get server settings.
Definition at line 88 of file class.ilLDAPSettingsGUI.php.
References $server.
Referenced by initAttributeMapping(), initRoleMapping(), loadRoleAssignmentRule(), and roleSelection().
|
private |
Check if the plugin is active.
Definition at line 1264 of file class.ilLDAPSettingsGUI.php.
References IL_COMP_SERVICE.
Referenced by initFormRoleAssignments().
|
private |
Definition at line 998 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_getInstanceByServerId(), and getServer().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
private |
Definition at line 651 of file class.ilLDAPSettingsGUI.php.
References $_GET, $binding, $pass, $version, ilAdministrationSettingsFormHandler\addFieldsToForm(), ilSubEnabledFormPropertyGUI\addSubItem(), ilRadioOption\addSubItem(), array, 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 addServerSettings(), editServerSettings(), and save().
|
protected |
Init form table for new role assignments.
string | mode edit | create |
object | object of ilLDAPRoleAsssignmentRule protected |
Definition at line 1136 of file class.ilLDAPSettingsGUI.php.
References $id, $name, ilRadioOption\addSubItem(), hasActiveRoleAssignmentPlugins(), prepareGlobalRoleSelection(), 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 1004 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), and getServer().
Referenced by deleteRoleMapping().
|
private |
init propertyformgui for Assignment of LDAP Attributes to ILIAS User Profile
string | $command | command methode |
Definition at line 1617 of file class.ilLDAPSettingsGUI.php.
References $_GET, $info, $url, ilFormPropertyGUI\setPostVar(), and setSubTabs().
Referenced by addRoleMapping(), createRoleMapping(), editRoleMapping(), and updateRoleMapping().
|
private |
Definition at line 989 of file class.ilLDAPSettingsGUI.php.
Referenced by __construct().
|
private |
Definition at line 1094 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by initUserMappingForm(), and saveMapping().
|
private |
Create Property Form GUI for User Mapping.
Definition at line 1313 of file class.ilLDAPSettingsGUI.php.
References $lang, getMappingFields(), and initUserDefinedFields().
Referenced by userMapping().
|
private |
Load info about hide/show details.
private
Definition at line 1115 of file class.ilLDAPSettingsGUI.php.
References $_GET, $_SESSION, and array.
|
protected |
Load input from form.
object | $a_rule_id |
Definition at line 464 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $parser, $res, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), array, getServer(), QP_COMBINATION_AND, and ilUtil\stripSlashes().
Referenced by checkRoleAssignmentInput(), and saveRoleSelection().
|
private |
New implementation for InputForm.
object | $a_as_select,[optional] |
Definition at line 1015 of file class.ilLDAPSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\_sortIds().
Referenced by initFormRoleAssignments().
|
private |
Definition at line 1100 of file class.ilLDAPSettingsGUI.php.
References $_POST, array, and ilUtil\formSelect().
|
private |
Used for old style table.
object | $a_as_select,[optional] |
Definition at line 1040 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 99 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 1359 of file class.ilLDAPSettingsGUI.php.
References $binding, $pass, ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), ilFormPropertyGUI\setPostVar(), setSubTabs(), and ilTable2GUI\setTitle().
Referenced by deleteRoleMapping().
|
protected |
Definition at line 331 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, and getServer().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::save | ( | ) |
Definition at line 856 of file class.ilLDAPSettingsGUI.php.
References $ilErr, initAttributeMapping(), initForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setSubTabs().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 566 of file class.ilLDAPSettingsGUI.php.
References $_POST, $key, getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and userMapping().
|
protected |
Save role selection.
Definition at line 394 of file class.ilLDAPSettingsGUI.php.
References $ilErr, loadRoleAssignmentRule(), roleAssignments(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRoleSelection().
ilLDAPSettingsGUI::saveSyncronizationSettings | ( | ) |
save Syncronization Settings on Role Mapping screen
Definition at line 1750 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilLDAPSettingsGUI::serverList | ( | ) |
Definition at line 588 of file class.ilLDAPSettingsGUI.php.
References $ilErr, $table, ilLDAPServer\checkLDAPLib(), and ilUtil\sendFailure().
Referenced by activateServer(), confirmDeleteServerSettings(), deactivateServer(), and deleteServerSettings().
ilLDAPSettingsGUI::setServerFormValues | ( | ) |
Definition at line 613 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole(), and array.
Referenced by editServerSettings().
|
private |
Set sub tabs for ldap section.
private
Definition at line 932 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\_getServerList().
Referenced by confirmDeleteRules(), editRoleAssignment(), editServerSettings(), initRoleMappingForm(), roleAssignments(), roleMapping(), save(), showRoleSelection(), and userMapping().
|
protected |
set values of form array
Definition at line 155 of file class.ilLDAPSettingsGUI.php.
References ilObject\_lookupTitle().
Referenced by editRoleAssignment().
|
protected |
show role selection
Definition at line 360 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $parser, $res, $table, array, QP_COMBINATION_AND, and setSubTabs().
Referenced by saveRoleSelection().
ilLDAPSettingsGUI::updateRoleAssignment | ( | ) |
update role assignment
public
Definition at line 186 of file class.ilLDAPSettingsGUI.php.
References $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 1717 of file class.ilLDAPSettingsGUI.php.
References $_GET, initRoleMappingForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLDAPSettingsGUI::userMapping | ( | ) |
Ldap User Mapping.
Definition at line 1580 of file class.ilLDAPSettingsGUI.php.
References initAttributeMapping(), initUserMappingForm(), setSubTabs(), and userMappingToolbar().
Referenced by chooseMapping(), and saveMapping().
|
private |
Create Toolbar ilToolbarGUI $ilToolbar.
Definition at line 1288 of file class.ilLDAPSettingsGUI.php.
References $_POST, $options, and array.
Referenced by userMapping().
|
private |
Definition at line 35 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 36 of file class.ilLDAPSettingsGUI.php.
Referenced by getServer().