ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Personal skills GUI class. More...
Public Member Functions | |
__construct () | |
Contructor. More... | |
setProfileId ($a_val) | |
Set profile id. More... | |
getProfileId () | |
Get profile id. More... | |
setGapAnalysisSelfEvalLevels ($a_val) | |
Set self evaluation levels for gap analysis. More... | |
getGapAnalysisSelfEvalLevels () | |
Get self evaluation levels for gap analysis. More... | |
setHistoryView ($a_val) | |
Set history view. More... | |
getHistoryView () | |
Get history view. More... | |
setIntroText ($a_val) | |
Set intro text. More... | |
getIntroText () | |
Get intro text. More... | |
hideSkill ($a_skill_id, $a_tref_id=0) | |
Hide skill. More... | |
executeCommand () | |
Execute command. More... | |
setTabs ($a_activate) | |
Set tabs. More... | |
setOfflineMode ($a_file_path) | |
listSkills () | |
List skills. More... | |
getSkillHTML ($a_top_skill_id, $a_user_id=0, $a_edit=false, $a_tref_id=0) | |
Get skill presentation HTML. More... | |
renderSkillHTML ($a_top_skill_id, $a_user_id=0, $a_edit=false, $a_tref_id=0) | |
Render skill html. More... | |
getTooltipsJs () | |
getMaterialInfo ($a_wsp_id, $a_user_id) | |
Get material file name and goto url. More... | |
addSkill () | |
Add personal skill. More... | |
confirmSkillRemove () | |
Confirm skill remove. More... | |
removeSkills () | |
Remove skills. More... | |
assignMaterials () | |
Assign materials to skill levels. More... | |
assignMaterial () | |
Assign materials to skill level. More... | |
selectMaterial () | |
Select material. More... | |
removeMaterial () | |
Remove material. More... | |
selfEvaluation () | |
Assign materials to skill levels. More... | |
saveSelfEvaluation () | |
Save self evaluation. More... | |
listSkillsForAdd () | |
LIst skills for adding. More... | |
listProfiles () | |
List profiles. More... | |
setGapAnalysisActualStatusModePerType ($a_type, $a_cat_title="") | |
Set gap analysis actual status mode "per type". More... | |
setGapAnalysisActualStatusModePerObject ($a_obj_id, $a_cat_title="") | |
Set gap analysis actual status mode "per object". More... | |
getGapAnalysisHTML ($a_user_id=0, $a_skills=null) | |
Get gap analysis html. More... | |
selectProfile () | |
Select profile. More... | |
renderSelfEvaluationRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
Render self evaluation row. More... | |
renderMaterialsRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
Render materials row. More... | |
renderProfileTargetRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
Render profile target row. More... | |
renderActualLevelsRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
Render actual levels row (gap analysis) More... | |
renderGapSelfEvalRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
Render actual levels row (gap analysis) More... | |
renderObjectEvalRow ($a_tpl, $a_levels, $a_level_entry) | |
Render object evaluation row (has_level table) More... | |
renderSuggestedResources ($a_tpl, $a_levels, $a_base_skill, $a_tref_id) | |
Render suggested resources. More... | |
Static Public Attributes | |
static | $skill_tt_cnt = 1 |
Protected Attributes | |
$offline_mode | |
$skill_tree | |
$actual_levels = array() | |
$gap_self_eval_levels = array() | |
$mode = "" | |
$history_view = false | |
$intro_text = "" | |
$hidden_skills = array() | |
ilPersonalSkillsGUI::__construct | ( | ) |
Contructor.
public
Definition at line 35 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilSetting, and $lng.
ilPersonalSkillsGUI::addSkill | ( | ) |
Add personal skill.
Definition at line 537 of file class.ilPersonalSkillsGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, ilPersonalSkill\addPersonalSkill(), and ilUtil\sendSuccess().
ilPersonalSkillsGUI::assignMaterial | ( | ) |
Assign materials to skill level.
Definition at line 685 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, array, ilWorkspaceExplorer\SEL_TYPE_CHECK, and ilUtil\sendInfo().
ilPersonalSkillsGUI::assignMaterials | ( | ) |
Assign materials to skill levels.
Definition at line 614 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, $options, $si, $tab, $tpl, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), array, and ilUtil\getImagePath().
ilPersonalSkillsGUI::confirmSkillRemove | ( | ) |
Confirm skill remove.
Definition at line 552 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, $tpl, ilSkillTreeNode\_lookupTitle(), and ilUtil\sendInfo().
ilPersonalSkillsGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 151 of file class.ilPersonalSkillsGUI.php.
References $cmd, $ilCtrl, $ilUser, $lng, $tpl, ilUtil\getImagePath(), and ilSkillProfile\getProfilesOfUser().
ilPersonalSkillsGUI::getGapAnalysisHTML | ( | $a_user_id = 0 , |
|
$a_skills = null |
|||
) |
Get gap analysis html.
Definition at line 998 of file class.ilPersonalSkillsGUI.php.
References $chart, $html, $ilUser, $l, $lg, $lng, $path, ilSkillTreeNode\_lookupTitle(), ilObject\_lookupTitle(), array, getGapAnalysisSelfEvalLevels(), ilPanelGUI\getInstance(), ilChart\getInstanceByType(), getIntroText(), getProfileId(), getSkillHTML(), ilPanelGUI\PANEL_STYLE_PRIMARY, ilSkillTreeNode\STATUS_DRAFT, and ilChart\TYPE_SPIDER.
Referenced by listProfiles().
ilPersonalSkillsGUI::getGapAnalysisSelfEvalLevels | ( | ) |
Get self evaluation levels for gap analysis.
Definition at line 88 of file class.ilPersonalSkillsGUI.php.
References $gap_self_eval_levels.
Referenced by getGapAnalysisHTML(), and renderGapSelfEvalRow().
ilPersonalSkillsGUI::getHistoryView | ( | ) |
Get history view.
Definition at line 108 of file class.ilPersonalSkillsGUI.php.
References $history_view.
ilPersonalSkillsGUI::getIntroText | ( | ) |
Get intro text.
Definition at line 128 of file class.ilPersonalSkillsGUI.php.
References $intro_text.
Referenced by getGapAnalysisHTML().
ilPersonalSkillsGUI::getMaterialInfo | ( | $a_wsp_id, | |
$a_user_id | |||
) |
Get material file name and goto url.
int | $a_wsp_id |
Definition at line 476 of file class.ilPersonalSkillsGUI.php.
References $file, $url, ilObject\_lookupTitle(), ilObject\_lookupType(), and array.
Referenced by renderMaterialsRow().
ilPersonalSkillsGUI::getProfileId | ( | ) |
Get profile id.
Definition at line 68 of file class.ilPersonalSkillsGUI.php.
Referenced by getGapAnalysisHTML(), renderActualLevelsRow(), renderProfileTargetRow(), renderSkillHTML(), and renderSuggestedResources().
ilPersonalSkillsGUI::getSkillHTML | ( | $a_top_skill_id, | |
$a_user_id = 0 , |
|||
$a_edit = false , |
|||
$a_tref_id = 0 |
|||
) |
Get skill presentation HTML.
$a_top_skill_id is a node of the skill "main tree", it can be a tref id!
Definition at line 255 of file class.ilPersonalSkillsGUI.php.
References array, and renderSkillHTML().
Referenced by getGapAnalysisHTML(), and listSkills().
ilPersonalSkillsGUI::getTooltipsJs | ( | ) |
Definition at line 465 of file class.ilPersonalSkillsGUI.php.
ilPersonalSkillsGUI::hideSkill | ( | $a_skill_id, | |
$a_tref_id = 0 |
|||
) |
ilPersonalSkillsGUI::listProfiles | ( | ) |
List profiles.
Definition at line 927 of file class.ilPersonalSkillsGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $options, $si, $tpl, array, getGapAnalysisHTML(), ilSkillProfile\getProfilesOfUser(), and setProfileId().
ilPersonalSkillsGUI::listSkills | ( | ) |
List skills.
Definition at line 208 of file class.ilPersonalSkillsGUI.php.
References $html, $ilCtrl, $ilUser, $lng, $path, $tpl, ilPersonalSkill\getSelectedUserSkills(), getSkillHTML(), setTabs(), and ilSkillTreeNode\STATUS_DRAFT.
ilPersonalSkillsGUI::listSkillsForAdd | ( | ) |
LIst skills for adding.
Definition at line 898 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilUser, $lng, $tpl, and ilUtil\sendInfo().
ilPersonalSkillsGUI::removeMaterial | ( | ) |
Remove material.
Definition at line 786 of file class.ilPersonalSkillsGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, ilPersonalSkill\removeMaterial(), and ilUtil\sendSuccess().
ilPersonalSkillsGUI::removeSkills | ( | ) |
Remove skills.
Definition at line 587 of file class.ilPersonalSkillsGUI.php.
References $_POST, $ilCtrl, $ilUser, $lng, ilPersonalSkill\removeSkill(), and ilUtil\sendSuccess().
ilPersonalSkillsGUI::renderActualLevelsRow | ( | $a_tpl, | |
$a_levels, | |||
$a_top_skill_id, | |||
$a_base_skill, | |||
$a_tref_id = 0 , |
|||
$a_user_id = 0 |
|||
) |
Render actual levels row (gap analysis)
Definition at line 1464 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, ilObject\_lookupTitle(), and getProfileId().
Referenced by renderSkillHTML().
ilPersonalSkillsGUI::renderGapSelfEvalRow | ( | $a_tpl, | |
$a_levels, | |||
$a_top_skill_id, | |||
$a_base_skill, | |||
$a_tref_id = 0 , |
|||
$a_user_id = 0 |
|||
) |
Render actual levels row (gap analysis)
Definition at line 1520 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, and getGapAnalysisSelfEvalLevels().
Referenced by renderSkillHTML().
ilPersonalSkillsGUI::renderMaterialsRow | ( | $a_tpl, | |
$a_levels, | |||
$a_top_skill_id, | |||
$a_base_skill, | |||
$a_tref_id = 0 , |
|||
$a_user_id = 0 |
|||
) |
Render materials row.
Definition at line 1331 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, ilTooltipGUI\addTooltip(), array, ilPersonalSkill\countAssignedMaterial(), ilPersonalSkill\getAssignedMaterial(), and getMaterialInfo().
Referenced by renderSkillHTML().
ilPersonalSkillsGUI::renderObjectEvalRow | ( | $a_tpl, | |
$a_levels, | |||
$a_level_entry | |||
) |
Render object evaluation row (has_level table)
Definition at line 1567 of file class.ilPersonalSkillsGUI.php.
References $lng, $title, IL_CAL_DATETIME, and ilDatePresentation\setUseRelativeDates().
Referenced by renderSkillHTML().
ilPersonalSkillsGUI::renderProfileTargetRow | ( | $a_tpl, | |
$a_levels, | |||
$a_top_skill_id, | |||
$a_base_skill, | |||
$a_tref_id = 0 , |
|||
$a_user_id = 0 |
|||
) |
Render profile target row.
Definition at line 1414 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, and getProfileId().
Referenced by renderSkillHTML().
ilPersonalSkillsGUI::renderSelfEvaluationRow | ( | $a_tpl, | |
$a_levels, | |||
$a_top_skill_id, | |||
$a_base_skill, | |||
$a_tref_id = 0 , |
|||
$a_user_id = 0 |
|||
) |
Render self evaluation row.
Definition at line 1271 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, ilPersonalSkill\getSelfEvaluation(), ilPersonalSkill\getSelfEvaluationDate(), IL_CAL_DATETIME, and ilDatePresentation\setUseRelativeDates().
ilPersonalSkillsGUI::renderSkillHTML | ( | $a_top_skill_id, | |
$a_user_id = 0 , |
|||
$a_edit = false , |
|||
$a_tref_id = 0 |
|||
) |
Render skill html.
Definition at line 277 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $path, $title, $tpl, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), ilTooltipGUI\addTooltip(), array, ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, ilBasicSkill\EVAL_BY_ALL, ilSkillTreeNodeFactory\getInstance(), getProfileId(), ilPersonalSkill\getSelfEvaluationDate(), renderActualLevelsRow(), renderGapSelfEvalRow(), renderMaterialsRow(), renderObjectEvalRow(), renderProfileTargetRow(), renderSuggestedResources(), and ilSkillTreeNode\STATUS_DRAFT.
Referenced by getSkillHTML().
ilPersonalSkillsGUI::renderSuggestedResources | ( | $a_tpl, | |
$a_levels, | |||
$a_base_skill, | |||
$a_tref_id | |||
) |
Render suggested resources.
Definition at line 1638 of file class.ilPersonalSkillsGUI.php.
References $lng, $r, $ref_id, $res, $title, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), array, getProfileId(), and ilBasicSkill\lookupLevelTitle().
Referenced by renderSkillHTML().
ilPersonalSkillsGUI::saveSelfEvaluation | ( | ) |
Save self evaluation.
Definition at line 875 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lng, ilPersonalSkill\saveSelfEvaluation(), and ilUtil\sendSuccess().
ilPersonalSkillsGUI::selectMaterial | ( | ) |
Select material.
Definition at line 758 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lng, $w, ilPersonalSkill\assignMaterial(), and ilUtil\sendSuccess().
ilPersonalSkillsGUI::selectProfile | ( | ) |
Select profile.
Definition at line 1257 of file class.ilPersonalSkillsGUI.php.
References $_GET, and $ilCtrl.
ilPersonalSkillsGUI::selfEvaluation | ( | ) |
Assign materials to skill levels.
Definition at line 808 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, $options, $si, $tab, $tpl, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), array, and ilUtil\getImagePath().
ilPersonalSkillsGUI::setGapAnalysisActualStatusModePerObject | ( | $a_obj_id, | |
$a_cat_title = "" |
|||
) |
Set gap analysis actual status mode "per object".
integer | $a_obj_id | object id |
Definition at line 984 of file class.ilPersonalSkillsGUI.php.
ilPersonalSkillsGUI::setGapAnalysisActualStatusModePerType | ( | $a_type, | |
$a_cat_title = "" |
|||
) |
Set gap analysis actual status mode "per type".
string | $a_type | type |
Definition at line 971 of file class.ilPersonalSkillsGUI.php.
References $a_type.
ilPersonalSkillsGUI::setGapAnalysisSelfEvalLevels | ( | $a_val | ) |
Set self evaluation levels for gap analysis.
array | $a_val | self evaluation values key1: base_skill_id, key2: tref_id: value: level id |
Definition at line 78 of file class.ilPersonalSkillsGUI.php.
ilPersonalSkillsGUI::setHistoryView | ( | $a_val | ) |
Set history view.
bool | $a_val | history view |
Definition at line 98 of file class.ilPersonalSkillsGUI.php.
ilPersonalSkillsGUI::setIntroText | ( | $a_val | ) |
Set intro text.
string | $a_val | intro text html |
Definition at line 118 of file class.ilPersonalSkillsGUI.php.
ilPersonalSkillsGUI::setOfflineMode | ( | $a_file_path | ) |
Definition at line 200 of file class.ilPersonalSkillsGUI.php.
ilPersonalSkillsGUI::setProfileId | ( | $a_val | ) |
Set profile id.
$a_val |
Definition at line 58 of file class.ilPersonalSkillsGUI.php.
Referenced by listProfiles().
ilPersonalSkillsGUI::setTabs | ( | $a_activate | ) |
Set tabs.
Definition at line 183 of file class.ilPersonalSkillsGUI.php.
Referenced by listSkills().
|
protected |
Definition at line 23 of file class.ilPersonalSkillsGUI.php.
|
protected |
Definition at line 24 of file class.ilPersonalSkillsGUI.php.
Referenced by getGapAnalysisSelfEvalLevels().
|
protected |
Definition at line 28 of file class.ilPersonalSkillsGUI.php.
|
protected |
Definition at line 26 of file class.ilPersonalSkillsGUI.php.
Referenced by getHistoryView().
|
protected |
Definition at line 27 of file class.ilPersonalSkillsGUI.php.
Referenced by getIntroText().
|
protected |
Definition at line 25 of file class.ilPersonalSkillsGUI.php.
|
protected |
Definition at line 20 of file class.ilPersonalSkillsGUI.php.
|
protected |
Definition at line 21 of file class.ilPersonalSkillsGUI.php.
|
static |
Definition at line 22 of file class.ilPersonalSkillsGUI.php.