ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Skill profile GUI class. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
checkPermissionBool ($a_perm) | |
Check permission pool. More... | |
executeCommand () | |
Execute command. More... | |
setTabs ($a_active) | |
Set tabs. More... | |
listProfiles () | |
List profiles. More... | |
listLocalProfiles () | |
create () | |
Create. More... | |
createLocal () | |
edit () | |
Edit. More... | |
initProfileForm ($a_mode="edit") | |
Init profile form. More... | |
save () | |
Save profile form. More... | |
saveLocal () | |
update () | |
Update. More... | |
confirmDeleteProfiles () | |
Confirm profile deletion. More... | |
deleteProfiles () | |
Delete profiles. More... | |
showLevels () | |
Show skill levels. More... | |
showLevelsWithLocalContext () | |
assignLevel () | |
Assign Level. More... | |
assignLevelSelectSkill () | |
Output level table for profile assignment. More... | |
assignLevelToProfile () | |
Assign level to profile. More... | |
confirmLevelAssignmentRemoval () | |
Confirm level assignment removal. More... | |
removeLevelAssignments () | |
Remove level assignment. More... | |
saveLevelOrder () | |
Save level order. More... | |
showUsers () | |
Show users. More... | |
assignUser () | |
Assign user. More... | |
assignRole (array $role_ids) | |
Assign role. More... | |
confirmUserRemoval () | |
Confirm user removal. More... | |
removeUsers () | |
Remove users. More... | |
showObjects () | |
Show assigned objects. More... | |
exportProfiles () | |
Export profiles. More... | |
showImportForm () | |
Show import form. More... | |
initInputForm () | |
Init input form. More... | |
importProfiles () | |
Import profiles. More... | |
Data Fields | |
$access | |
$ref_id | |
$local_context = false | |
Protected Attributes | |
$ctrl | |
$lng | |
$tabs | |
$tpl | |
$help | |
$toolbar | |
$profile = null | |
Skill profile GUI class.
Definition at line 12 of file class.ilSkillProfileGUI.php.
ilSkillProfileGUI::__construct | ( | ) |
Constructor.
Definition at line 61 of file class.ilSkillProfileGUI.php.
References $_GET, $DIC, and help().
ilSkillProfileGUI::assignLevel | ( | ) |
Assign Level.
Definition at line 522 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $local_context, $tabs, $tpl, and ilUtil\sendInfo().
ilSkillProfileGUI::assignLevelSelectSkill | ( | ) |
Output level table for profile assignment.
Definition at line 561 of file class.ilSkillProfileGUI.php.
References $_GET, $ctrl, $lng, $local_context, $tabs, and $tpl.
ilSkillProfileGUI::assignLevelToProfile | ( | ) |
Assign level to profile.
Definition at line 599 of file class.ilSkillProfileGUI.php.
References $_GET, $ctrl, $lng, $local_context, and checkPermissionBool().
ilSkillProfileGUI::assignRole | ( | array | $role_ids | ) |
Assign role.
Definition at line 806 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $success, and checkPermissionBool().
ilSkillProfileGUI::assignUser | ( | ) |
Assign user.
Definition at line 773 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $lng, ilObjUser\_lookupId(), checkPermissionBool(), and ilUtil\stripSlashes().
ilSkillProfileGUI::checkPermissionBool | ( | $a_perm | ) |
Check permission pool.
string | $a_perm |
Definition at line 96 of file class.ilSkillProfileGUI.php.
Referenced by assignLevelToProfile(), assignRole(), assignUser(), confirmUserRemoval(), deleteProfiles(), exportProfiles(), initProfileForm(), listProfiles(), removeLevelAssignments(), removeUsers(), save(), saveLevelOrder(), saveLocal(), showLevels(), showLevelsWithLocalContext(), showUsers(), and update().
ilSkillProfileGUI::confirmDeleteProfiles | ( | ) |
Confirm profile deletion.
Definition at line 406 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $i, $lng, $tpl, ilSkillProfile\lookupTitle(), and ilUtil\sendInfo().
ilSkillProfileGUI::confirmLevelAssignmentRemoval | ( | ) |
Confirm level assignment removal.
Definition at line 630 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $i, $lng, $local_context, $tabs, $tpl, ilSkillTreeNode\_lookupTitle(), ilBasicSkill\lookupLevelTitle(), ilUtil\sendInfo(), and setTabs().
ilSkillProfileGUI::confirmUserRemoval | ( | ) |
Confirm user removal.
Definition at line 832 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $i, $lng, $tpl, $type, ilObject\_lookupTitle(), ilObject\_lookupType(), checkPermissionBool(), ilUserUtil\getNamePresentation(), ilUtil\sendInfo(), and setTabs().
ilSkillProfileGUI::create | ( | ) |
Create.
Definition at line 234 of file class.ilSkillProfileGUI.php.
References $tpl, and initProfileForm().
ilSkillProfileGUI::createLocal | ( | ) |
Definition at line 242 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $tabs, $tpl, and initProfileForm().
ilSkillProfileGUI::deleteProfiles | ( | ) |
Delete profiles.
Definition at line 433 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $i, $lng, $tpl, checkPermissionBool(), and ilUtil\sendInfo().
ilSkillProfileGUI::edit | ( | ) |
Edit.
Definition at line 262 of file class.ilSkillProfileGUI.php.
References $tpl, initProfileForm(), and setTabs().
ilSkillProfileGUI::executeCommand | ( | ) |
Execute command.
Definition at line 104 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, and $ret.
ilSkillProfileGUI::exportProfiles | ( | ) |
Export profiles.
Definition at line 944 of file class.ilSkillProfileGUI.php.
References $_GET, $_POST, $ctrl, $lng, ilObject\_lookupObjId(), checkPermissionBool(), ilSkillExportConfig\MODE_PROFILES, and ilUtil\sendInfo().
ilSkillProfileGUI::importProfiles | ( | ) |
Import profiles.
Definition at line 1010 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $tpl, and initInputForm().
ilSkillProfileGUI::initInputForm | ( | ) |
Init input form.
Definition at line 985 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, and ilFileInputGUI\setSuffixes().
Referenced by importProfiles(), and showImportForm().
ilSkillProfileGUI::initProfileForm | ( | $a_mode = "edit" | ) |
Init profile form.
string | $a_mode | edit mode |
Definition at line 277 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, checkPermissionBool(), and ilTextAreaInputGUI\setCols().
Referenced by create(), createLocal(), edit(), save(), saveLocal(), and update().
ilSkillProfileGUI::listLocalProfiles | ( | ) |
ilSkillProfileGUI::listProfiles | ( | ) |
List profiles.
Definition at line 200 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $toolbar, $tpl, and checkPermissionBool().
ilSkillProfileGUI::removeLevelAssignments | ( | ) |
Remove level assignment.
Definition at line 681 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $i, $local_context, and checkPermissionBool().
ilSkillProfileGUI::removeUsers | ( | ) |
Remove users.
Definition at line 888 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $i, $lng, $type, ilObject\_lookupType(), and checkPermissionBool().
ilSkillProfileGUI::save | ( | ) |
Save profile form.
Definition at line 326 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $tpl, checkPermissionBool(), and initProfileForm().
ilSkillProfileGUI::saveLevelOrder | ( | ) |
Save level order.
Definition at line 708 of file class.ilSkillProfileGUI.php.
References $_POST, $ctrl, $lng, $local_context, checkPermissionBool(), and ilUtil\stripSlashesArray().
ilSkillProfileGUI::saveLocal | ( | ) |
Definition at line 350 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $tpl, checkPermissionBool(), ilParticipants\getDefaultMemberRole(), and initProfileForm().
ilSkillProfileGUI::setTabs | ( | $a_active | ) |
Set tabs.
Definition at line 145 of file class.ilSkillProfileGUI.php.
References $ctrl, $help, $lng, $tabs, and $tpl.
Referenced by confirmLevelAssignmentRemoval(), confirmUserRemoval(), edit(), showLevels(), showObjects(), and showUsers().
ilSkillProfileGUI::showImportForm | ( | ) |
Show import form.
Definition at line 974 of file class.ilSkillProfileGUI.php.
References $tabs, $tpl, and initInputForm().
ilSkillProfileGUI::showLevels | ( | ) |
Show skill levels.
Definition at line 464 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $toolbar, $tpl, checkPermissionBool(), and setTabs().
ilSkillProfileGUI::showLevelsWithLocalContext | ( | ) |
Definition at line 489 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $tabs, $toolbar, $tpl, and checkPermissionBool().
ilSkillProfileGUI::showObjects | ( | ) |
Show assigned objects.
Definition at line 921 of file class.ilSkillProfileGUI.php.
References $tpl, and setTabs().
ilSkillProfileGUI::showUsers | ( | ) |
Show users.
Definition at line 731 of file class.ilSkillProfileGUI.php.
References $lng, $toolbar, $tpl, checkPermissionBool(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilLinkButton\getInstance(), and setTabs().
ilSkillProfileGUI::update | ( | ) |
Update.
Definition at line 379 of file class.ilSkillProfileGUI.php.
References $ctrl, $lng, $tpl, checkPermissionBool(), initProfileForm(), and ilUtil\sendInfo().
ilSkillProfileGUI::$access |
Definition at line 48 of file class.ilSkillProfileGUI.php.
|
protected |
Definition at line 17 of file class.ilSkillProfileGUI.php.
Referenced by assignLevel(), assignLevelSelectSkill(), assignLevelToProfile(), assignRole(), assignUser(), confirmDeleteProfiles(), confirmLevelAssignmentRemoval(), confirmUserRemoval(), createLocal(), deleteProfiles(), executeCommand(), exportProfiles(), importProfiles(), initInputForm(), initProfileForm(), listLocalProfiles(), listProfiles(), removeLevelAssignments(), removeUsers(), save(), saveLevelOrder(), saveLocal(), setTabs(), showLevels(), showLevelsWithLocalContext(), and update().
|
protected |
Definition at line 37 of file class.ilSkillProfileGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 22 of file class.ilSkillProfileGUI.php.
Referenced by assignLevel(), assignLevelSelectSkill(), assignLevelToProfile(), assignRole(), assignUser(), confirmDeleteProfiles(), confirmLevelAssignmentRemoval(), confirmUserRemoval(), createLocal(), deleteProfiles(), executeCommand(), exportProfiles(), importProfiles(), initInputForm(), initProfileForm(), listProfiles(), removeUsers(), save(), saveLevelOrder(), saveLocal(), setTabs(), showLevels(), showLevelsWithLocalContext(), showUsers(), and update().
ilSkillProfileGUI::$local_context = false |
Definition at line 56 of file class.ilSkillProfileGUI.php.
Referenced by assignLevel(), assignLevelSelectSkill(), assignLevelToProfile(), confirmLevelAssignmentRemoval(), removeLevelAssignments(), and saveLevelOrder().
|
protected |
Definition at line 44 of file class.ilSkillProfileGUI.php.
ilSkillProfileGUI::$ref_id |
Definition at line 52 of file class.ilSkillProfileGUI.php.
|
protected |
Definition at line 27 of file class.ilSkillProfileGUI.php.
Referenced by assignLevel(), assignLevelSelectSkill(), confirmLevelAssignmentRemoval(), createLocal(), setTabs(), showImportForm(), and showLevelsWithLocalContext().
|
protected |
Definition at line 42 of file class.ilSkillProfileGUI.php.
Referenced by listProfiles(), showLevels(), showLevelsWithLocalContext(), and showUsers().
|
protected |
Definition at line 32 of file class.ilSkillProfileGUI.php.
Referenced by assignLevel(), assignLevelSelectSkill(), confirmDeleteProfiles(), confirmLevelAssignmentRemoval(), confirmUserRemoval(), create(), createLocal(), deleteProfiles(), edit(), importProfiles(), listProfiles(), save(), saveLocal(), setTabs(), showImportForm(), showLevels(), showLevelsWithLocalContext(), showObjects(), showUsers(), and update().