ILIAS
Release_3_10_x_branch Revision 61812
|
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 () | |
save () |
Protected Member Functions | |
initFormRoleAssignments ($a_mode, ilLDAPRoleAssignmentRule $current_rule) | |
Init form table for new role assignments. |
Private Member Functions | |
setSubTabs () | |
Set sub tabs for ldap section. | |
initServer () | |
initAttributeMapping () | |
initRoleMapping () | |
prepareRoleSelect ($a_as_select=true) | |
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. |
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 242 of file class.ilLDAPSettingsGUI.php.
References $ilErr, ilLDAPServer\_getFirstActiveServer(), ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilLDAPSettingsGUI::chooseMapping | ( | ) |
Definition at line 537 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
ilLDAPSettingsGUI::confirmDeleteRules | ( | ) |
Confirm delete rules.
public
Definition at line 181 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), ilUtil\sendInfo(), and setSubTabs().
ilLDAPSettingsGUI::deleteRoleMapping | ( | ) |
Definition at line 428 of file class.ilLDAPSettingsGUI.php.
References initRoleMapping(), roleMapping(), and ilUtil\sendInfo().
ilLDAPSettingsGUI::deleteRules | ( | ) |
delete role assignment rule
public
Definition at line 217 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), roleAssignments(), and ilUtil\sendInfo().
ilLDAPSettingsGUI::editRoleAssignment | ( | ) |
Edit role assignment.
public
Definition at line 118 of file class.ilLDAPSettingsGUI.php.
References $_GET, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), initFormRoleAssignments(), roleAssignments(), and setSubTabs().
Referenced by updateRoleAssignment().
ilLDAPSettingsGUI::executeCommand | ( | ) |
Definition at line 55 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 850 of file class.ilLDAPSettingsGUI.php.
Referenced by saveMapping(), and userMapping().
|
private |
Definition at line 809 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPAttributeMapping\_getInstanceByServerId().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
protected |
Init form table for new role assignments.
string | mode edit | create |
object | object of ilLDAPRoleAsssignmentRule protected |
Definition at line 962 of file class.ilLDAPSettingsGUI.php.
References ilRadioOption\addSubItem(), ilLDAPRoleAssignmentRule\getAttributeName(), ilLDAPRoleAssignmentRule\getAttributeValue(), ilLDAPRoleAssignmentRule\getDN(), ilLDAPRoleAssignmentRule\getMemberAttribute(), ilLDAPRoleAssignmentRule\getRoleId(), ilLDAPRoleAssignmentRule\getType(), ilLDAPRoleAssignmentRule\isMemberAttributeDN(), prepareRoleSelect(), ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilTextInputGUI\setValue(), ilSelectInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilRadioOption\setValue(), ilLDAPRoleAssignmentRule\TYPE_ATTRIBUTE, and ilLDAPRoleAssignmentRule\TYPE_GROUP.
Referenced by editRoleAssignment(), and roleAssignments().
|
private |
Definition at line 815 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPRoleGroupMappingSettings\_getInstanceByServerId().
Referenced by deleteRoleMapping(), roleMapping(), and saveRoleMapping().
|
private |
Definition at line 799 of file class.ilLDAPSettingsGUI.php.
References $_GET, and ilLDAPServer\_getFirstServer().
Referenced by __construct().
|
private |
Definition at line 872 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 895 of file class.ilLDAPSettingsGUI.php.
References $_GET.
Referenced by roleMapping().
|
private |
Load info about hide/show details.
private
Definition at line 914 of file class.ilLDAPSettingsGUI.php.
References $_GET, and $_SESSION.
Referenced by roleMapping().
|
private |
Definition at line 878 of file class.ilLDAPSettingsGUI.php.
References formSelect().
Referenced by userMapping().
|
private |
Definition at line 821 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole(), ilObject\_lookupTitle(), ilUtil\_sortIds(), and formSelect().
Referenced by initFormRoleAssignments(), and serverList().
ilLDAPSettingsGUI::reset | ( | ) |
Definition at line 448 of file class.ilLDAPSettingsGUI.php.
References userMapping().
ilLDAPSettingsGUI::roleAssignments | ( | ) |
Edit role assignments.
public
Definition at line 86 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilLDAPRoleAssignmentRule\_getRules(), initFormRoleAssignments(), and setSubTabs().
Referenced by addRoleAssignment(), confirmDeleteRules(), deleteRules(), editRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::roleMapping | ( | ) |
Definition at line 273 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().
ilLDAPSettingsGUI::save | ( | ) |
Definition at line 706 of file class.ilLDAPSettingsGUI.php.
References $_GET, $ilErr, initAttributeMapping(), ilUtil\sendInfo(), serverList(), and ilUtil\stripSlashes().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 557 of file class.ilLDAPSettingsGUI.php.
References getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and userMapping().
ilLDAPSettingsGUI::saveRoleMapping | ( | ) |
Definition at line 454 of file class.ilLDAPSettingsGUI.php.
References $_GET, $ilErr, initRoleMapping(), roleMapping(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilLDAPSettingsGUI::serverList | ( | ) |
Definition at line 579 of file class.ilLDAPSettingsGUI.php.
References ilUtil\formCheckbox(), ilUtil\formRadioButton(), ilUtil\formSelect(), IL_LDAP_BIND_ANONYMOUS, IL_LDAP_BIND_USER, IL_LDAP_SCOPE_ONE, IL_LDAP_SCOPE_SUB, prepareRoleSelect(), and setSubTabs().
Referenced by save().
|
private |
Set sub tabs for ldap section.
private
Definition at line 771 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\_getServerList().
Referenced by confirmDeleteRules(), editRoleAssignment(), roleAssignments(), roleMapping(), serverList(), and userMapping().
|
private |
Sort mapping data by title.
private
array | mapping data |
Definition at line 937 of file class.ilLDAPSettingsGUI.php.
References $data, and ilUtil\sortArray().
Referenced by roleMapping().
ilLDAPSettingsGUI::updateRoleAssignment | ( | ) |
update role assignment
public
Definition at line 142 of file class.ilLDAPSettingsGUI.php.
References $_GET, $ilErr, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), editRoleAssignment(), roleAssignments(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilLDAPSettingsGUI::userMapping | ( | $a_show_defaults = false | ) |
Definition at line 487 of file class.ilLDAPSettingsGUI.php.
References ilUtil\formCheckbox(), getMappingFields(), initAttributeMapping(), initUserDefinedFields(), prepareMappingSelect(), and setSubTabs().
Referenced by chooseMapping(), reset(), and saveMapping().
|
private |
Definition at line 35 of file class.ilLDAPSettingsGUI.php.