ILIAS
Release_4_1_x_branch Revision 61804
|
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 | |
roleMapping () | |
deleteRoleMapping () | |
reset () | |
saveRoleMapping () | |
userMapping ($a_show_defaults=false) | |
chooseMapping () | |
saveMapping () | |
serverList () | |
setServerFormValues () | |
save () | |
addRoleAutoCompleteObject () | |
Add Member for autoComplete. |
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 () | |
loadMappingCopy ($a_mapping_data) | |
Load mapping data in cas of copy. | |
loadMappingDetails () | |
Load info about hide/show details. | |
sortMappingData ($a_mapping_data) | |
Sort mapping data by title. | |
hasActiveRoleAssignmentPlugins () | |
Check if the plugin is active. |
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 1527 of file class.ilLDAPSettingsGUI.php.
References ilRoleAutoCompleteInputGUI\echoAutoCompleteList().
|
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 813 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
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::deleteRoleMapping | ( | ) |
Definition at line 704 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::executeCommand | ( | ) |
Definition at line 55 of file class.ilLDAPSettingsGUI.php.
References $cmd, $ilCtrl, $ilErr, and ilUtil\sendFailure().
|
private |
Definition at line 1276 of file class.ilLDAPSettingsGUI.php.
Referenced by saveMapping(), and userMapping().
|
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 1516 of file class.ilLDAPSettingsGUI.php.
References IL_COMP_SERVICE.
Referenced by initFormRoleAssignments().
|
private |
Definition at line 1206 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPAttributeMapping\_getInstanceByServerId().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
private |
Definition at line 911 of file class.ilLDAPSettingsGUI.php.
References $pass, $user, ilSubEnabledFormPropertyGUI\addSubItem(), 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 1387 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 1212 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPRoleGroupMappingSettings\_getInstanceByServerId().
Referenced by deleteRoleMapping(), roleMapping(), and saveRoleMapping().
|
private |
Definition at line 1196 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPServer\_getFirstServer().
Referenced by __construct().
|
private |
Definition at line 1298 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by saveMapping(), and userMapping().
|
private |
Load mapping data in cas of copy.
private
array | mapping data |
Definition at line 1321 of file class.ilLDAPSettingsGUI.php.
References $_GET.
Referenced by roleMapping().
|
private |
Load info about hide/show details.
private
Definition at line 1339 of file class.ilLDAPSettingsGUI.php.
References $_GET, and $_SESSION.
Referenced by roleMapping().
|
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, ilQueryParser\setMinWordLength(), and ilUtil\stripSlashes().
Referenced by checkRoleAssignmentInput(), and saveRoleSelection().
|
private |
New implementation for InputForm.
object | $a_as_select,[optional] |
Definition at line 1223 of file class.ilLDAPSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\_sortIds().
Referenced by initFormRoleAssignments().
|
private |
Definition at line 1304 of file class.ilLDAPSettingsGUI.php.
References $_POST, and formSelect().
Referenced by userMapping().
|
private |
Used for old style table.
object | $a_as_select,[optional] |
Definition at line 1247 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole(), ilObject\_lookupTitle(), ilUtil\_sortIds(), and formSelect().
Referenced by initForm().
ilLDAPSettingsGUI::reset | ( | ) |
Definition at line 724 of file class.ilLDAPSettingsGUI.php.
References $_POST, and userMapping().
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 | ( | ) |
Definition at line 549 of file class.ilLDAPSettingsGUI.php.
References $_SESSION, $data, ilUtil\formCheckbox(), ilUtil\getImagePath(), initRoleMapping(), loadMappingCopy(), loadMappingDetails(), ilUtil\prepareFormOutput(), setSubTabs(), ilUtil\shortenText(), and sortMappingData().
Referenced by deleteRoleMapping(), and saveRoleMapping().
|
protected |
Definition at line 336 of file class.ilLDAPSettingsGUI.php.
References $_REQUEST, and $_SESSION.
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::save | ( | ) |
Definition at line 1090 of file class.ilLDAPSettingsGUI.php.
References $_GET, $ilErr, initAttributeMapping(), initForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setSubTabs().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 833 of file class.ilLDAPSettingsGUI.php.
References $_POST, getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and userMapping().
ilLDAPSettingsGUI::saveRoleMapping | ( | ) |
Definition at line 730 of file class.ilLDAPSettingsGUI.php.
References $_GET, $_POST, $ilErr, initRoleMapping(), roleMapping(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
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::serverList | ( | ) |
Definition at line 855 of file class.ilLDAPSettingsGUI.php.
References $cmd, $ilErr, ilLDAPServer\checkLDAPLib(), initForm(), ilUtil\sendFailure(), setServerFormValues(), and setSubTabs().
ilLDAPSettingsGUI::setServerFormValues | ( | ) |
Definition at line 877 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole().
Referenced by serverList().
|
private |
Set sub tabs for ldap section.
private
Definition at line 1168 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\_getServerList().
Referenced by confirmDeleteRules(), editRoleAssignment(), 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().
|
private |
Sort mapping data by title.
private
array | mapping data |
Definition at line 1362 of file class.ilLDAPSettingsGUI.php.
References $data, and ilUtil\sortArray().
Referenced by roleMapping().
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::userMapping | ( | $a_show_defaults = false | ) |
Definition at line 763 of file class.ilLDAPSettingsGUI.php.
References $_POST, ilUtil\formCheckbox(), getMappingFields(), initAttributeMapping(), initUserDefinedFields(), prepareMappingSelect(), and setSubTabs().
Referenced by chooseMapping(), reset(), and saveMapping().
|
private |
Definition at line 35 of file class.ilLDAPSettingsGUI.php.