ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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, $DIC, $ilCtrl, $lng, $tpl, and initServer().
ilLDAPSettingsGUI::activateServer | ( | ) |
Definition at line 1641 of file class.ilLDAPSettingsGUI.php.
References serverList().
ilLDAPSettingsGUI::addRoleAssignment | ( | ) |
add new role assignment
public
Definition at line 305 of file class.ilLDAPSettingsGUI.php.
References $_POST, $DIC, $ilErr, checkRoleAssignmentInput(), getRoleAssignmentTable(), initFormRoleAssignments(), roleAssignments(), roleSelection(), and ilUtil\sendFailure().
ilLDAPSettingsGUI::addRoleAutoCompleteObject | ( | ) |
Add Member for autoComplete.
Definition at line 1315 of file class.ilLDAPSettingsGUI.php.
References ilRoleAutoCompleteInputGUI\echoAutoCompleteList().
ilLDAPSettingsGUI::addRoleMapping | ( | ) |
Add Assigments for role mapping.
Definition at line 1736 of file class.ilLDAPSettingsGUI.php.
References $_GET, and initRoleMappingForm().
ilLDAPSettingsGUI::addServerSettings | ( | ) |
Definition at line 1551 of file class.ilLDAPSettingsGUI.php.
References initForm().
|
protected |
Check role assignment input.
int | $a_rule_id |
Definition at line 453 of file class.ilLDAPSettingsGUI.php.
References $DIC, $ilErr, and loadRoleAssignmentRule().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::chooseMapping | ( | ) |
Definition at line 573 of file class.ilLDAPSettingsGUI.php.
References $_POST, $key, ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
ilLDAPSettingsGUI::confirmDeleteRoleMapping | ( | ) |
confirm delete role mappings
Definition at line 1520 of file class.ilLDAPSettingsGUI.php.
References $_POST, $id, $txt, and ilUtil\sendFailure().
ilLDAPSettingsGUI::confirmDeleteRules | ( | ) |
Confirm delete rules.
public
Definition at line 248 of file class.ilLDAPSettingsGUI.php.
References $_POST, $rule, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendFailure(), and setSubTabs().
ilLDAPSettingsGUI::confirmDeleteServerSettings | ( | ) |
Confirm delete rules.
public
Definition at line 1577 of file class.ilLDAPSettingsGUI.php.
References $_GET, ilUtil\sendFailure(), and serverList().
ilLDAPSettingsGUI::createRoleMapping | ( | ) |
Check add screen input and save to db ilRbacReview $rbacreview.
Definition at line 1485 of file class.ilLDAPSettingsGUI.php.
References $DIC, initRoleMappingForm(), and ilUtil\sendFailure().
ilLDAPSettingsGUI::deactivateServer | ( | ) |
Definition at line 1648 of file class.ilLDAPSettingsGUI.php.
References serverList().
ilLDAPSettingsGUI::deleteRoleMapping | ( | ) |
Definition at line 555 of file class.ilLDAPSettingsGUI.php.
References $_POST, initRoleMapping(), roleMapping(), and ilUtil\sendFailure().
ilLDAPSettingsGUI::deleteRules | ( | ) |
delete role assignment rule
public
Definition at line 282 of file class.ilLDAPSettingsGUI.php.
References $_POST, $rule, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), and ilUtil\sendFailure().
ilLDAPSettingsGUI::deleteServerSettings | ( | ) |
Definition at line 1606 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilUtil\sendFailure(), and serverList().
ilLDAPSettingsGUI::editRoleAssignment | ( | ) |
Edit role assignment.
public
Definition at line 142 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 1460 of file class.ilLDAPSettingsGUI.php.
References $_GET, and initRoleMappingForm().
ilLDAPSettingsGUI::editServerSettings | ( | ) |
Definition at line 1559 of file class.ilLDAPSettingsGUI.php.
References initForm(), setServerFormValues(), and setSubTabs().
ilLDAPSettingsGUI::executeCommand | ( | ) |
Definition at line 65 of file class.ilLDAPSettingsGUI.php.
References $DIC, $ilCtrl, $ilErr, and ilUtil\sendFailure().
|
private |
Definition at line 1110 of file class.ilLDAPSettingsGUI.php.
Referenced by initUserMappingForm(), and saveMapping().
|
protected |
Show active role assignments.
Definition at line 469 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getRules().
Referenced by addRoleAssignment().
ilLDAPSettingsGUI::getServer | ( | ) |
Get server settings.
Definition at line 98 of file class.ilLDAPSettingsGUI.php.
References $server.
Referenced by initAttributeMapping(), initRoleMapping(), loadRoleAssignmentRule(), and roleSelection().
|
private |
Check if the plugin is active.
Definition at line 1302 of file class.ilLDAPSettingsGUI.php.
References $DIC, and IL_COMP_SERVICE.
Referenced by initFormRoleAssignments().
|
private |
Definition at line 1030 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_getInstanceByServerId(), and getServer().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
private |
Definition at line 679 of file class.ilLDAPSettingsGUI.php.
References $_GET, $binding, $pass, $user, $version, ilAdministrationSettingsFormHandler\addFieldsToForm(), ilSubEnabledFormPropertyGUI\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 addServerSettings(), editServerSettings(), and save().
|
protected |
Init form table for new role assignments.
string | mode edit | create |
object | object of ilLDAPRoleAsssignmentRule protected |
Definition at line 1174 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 1036 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 1663 of file class.ilLDAPSettingsGUI.php.
References $_GET, $info, $url, ilFormPropertyGUI\setPostVar(), and setSubTabs().
Referenced by addRoleMapping(), createRoleMapping(), editRoleMapping(), and updateRoleMapping().
|
private |
Definition at line 1021 of file class.ilLDAPSettingsGUI.php.
Referenced by __construct().
|
private |
Definition at line 1132 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by initUserMappingForm(), and saveMapping().
|
private |
Create Property Form GUI for User Mapping.
Definition at line 1355 of file class.ilLDAPSettingsGUI.php.
References $lang, getMappingFields(), and initUserDefinedFields().
Referenced by userMapping().
|
private |
Load info about hide/show details.
private
Definition at line 1153 of file class.ilLDAPSettingsGUI.php.
References $_GET, and $_SESSION.
|
protected |
Load input from form.
object | $a_rule_id |
Definition at line 489 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $parser, $res, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), 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 1047 of file class.ilLDAPSettingsGUI.php.
References $DIC, ilObject\_lookupTitle(), and ilUtil\_sortIds().
Referenced by initFormRoleAssignments().
|
private |
Definition at line 1138 of file class.ilLDAPSettingsGUI.php.
References $_POST, and ilUtil\formSelect().
|
private |
Used for old style table.
object | $a_as_select,[optional] |
Definition at line 1075 of file class.ilLDAPSettingsGUI.php.
References $DIC, ilLDAPAttributeMapping\_lookupGlobalRole(), ilObject\_lookupTitle(), ilUtil\_sortIds(), and ilUtil\formSelect().
Referenced by initForm().
ilLDAPSettingsGUI::roleAssignments | ( | ) |
Edit role assignments.
public
Definition at line 109 of file class.ilLDAPSettingsGUI.php.
References $DIC, 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 1401 of file class.ilLDAPSettingsGUI.php.
References $binding, $DIC, $pass, $user, ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), ilFormPropertyGUI\setPostVar(), setSubTabs(), and ilTable2GUI\setTitle().
Referenced by deleteRoleMapping().
|
protected |
Definition at line 351 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, and getServer().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::save | ( | ) |
Definition at line 889 of file class.ilLDAPSettingsGUI.php.
References $DIC, $ilErr, initAttributeMapping(), initForm(), ilUtil\sendFailure(), and setSubTabs().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 591 of file class.ilLDAPSettingsGUI.php.
References $_POST, $key, getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ilUtil\stripSlashes(), and userMapping().
|
protected |
Save role selection.
Definition at line 414 of file class.ilLDAPSettingsGUI.php.
References $DIC, $ilErr, loadRoleAssignmentRule(), roleAssignments(), ilUtil\sendFailure(), and showRoleSelection().
ilLDAPSettingsGUI::saveSyncronizationSettings | ( | ) |
save Syncronization Settings on Role Mapping screen
Definition at line 1798 of file class.ilLDAPSettingsGUI.php.
References $_POST, and ilUtil\stripSlashes().
ilLDAPSettingsGUI::serverList | ( | ) |
Definition at line 613 of file class.ilLDAPSettingsGUI.php.
References $DIC, $ilErr, $table, ilLDAPServer\checkLDAPLib(), and ilUtil\sendFailure().
Referenced by activateServer(), confirmDeleteServerSettings(), deactivateServer(), and deleteServerSettings().
ilLDAPSettingsGUI::setServerFormValues | ( | ) |
Definition at line 642 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole().
Referenced by editServerSettings().
|
private |
Set sub tabs for ldap section.
private
Definition at line 964 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 167 of file class.ilLDAPSettingsGUI.php.
References $DIC, and ilObject\_lookupTitle().
Referenced by editRoleAssignment().
|
protected |
show role selection
Definition at line 380 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $parser, $res, $table, QP_COMBINATION_AND, and setSubTabs().
Referenced by saveRoleSelection().
ilLDAPSettingsGUI::updateRoleAssignment | ( | ) |
update role assignment
public
Definition at line 200 of file class.ilLDAPSettingsGUI.php.
References $DIC, $ilErr, checkRoleAssignmentInput(), initFormRoleAssignments(), roleAssignments(), roleSelection(), and ilUtil\sendFailure().
ilLDAPSettingsGUI::updateRoleMapping | ( | ) |
Check edit screen input and save to db ilRbacReview $rbacreview.
Definition at line 1763 of file class.ilLDAPSettingsGUI.php.
References $_GET, $DIC, initRoleMappingForm(), and ilUtil\sendFailure().
ilLDAPSettingsGUI::userMapping | ( | ) |
Ldap User Mapping.
Definition at line 1626 of file class.ilLDAPSettingsGUI.php.
References initAttributeMapping(), initUserMappingForm(), setSubTabs(), and userMappingToolbar().
Referenced by chooseMapping(), and saveMapping().
|
private |
Create Toolbar ilToolbarGUI $ilToolbar.
Definition at line 1328 of file class.ilLDAPSettingsGUI.php.
References $_POST, $DIC, and PHPMailer\PHPMailer\$options.
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().