|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Personal skills GUI class. More...
Collaboration diagram for ilPersonalSkillsGUI: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... | |
| 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... | |
| 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 = "" | |
Personal skills GUI class.
@ilCtrl_Calls ilPersonalSkillsGUI:
Definition at line 18 of file class.ilPersonalSkillsGUI.php.
| ilPersonalSkillsGUI::__construct | ( | ) |
Contructor.
@access public
Definition at line 32 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilSetting, and $lng.
| ilPersonalSkillsGUI::addSkill | ( | ) |
Add personal skill.
Definition at line 468 of file class.ilPersonalSkillsGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, ilPersonalSkill\addPersonalSkill(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPersonalSkillsGUI::assignMaterial | ( | ) |
Assign materials to skill level.
return
Definition at line 616 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, ilWorkspaceExplorer\SEL_TYPE_CHECK, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPersonalSkillsGUI::assignMaterials | ( | ) |
Assign materials to skill levels.
return
Definition at line 545 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, $options, $si, $tab, $tpl, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), and ilUtil\getImagePath().
Here is the call graph for this function:| ilPersonalSkillsGUI::confirmSkillRemove | ( | ) |
Confirm skill remove.
Definition at line 483 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, $tpl, ilSkillTreeNode\_lookupTitle(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilPersonalSkillsGUI::executeCommand | ( | ) |
Execute command.
@access public
Definition at line 96 of file class.ilPersonalSkillsGUI.php.
References $cmd, $ilCtrl, $ilUser, $lng, $tpl, ilUtil\getImagePath(), and ilSkillProfile\getProfilesOfUser().
Here is the call graph for this function:| ilPersonalSkillsGUI::getGapAnalysisHTML | ( | $a_user_id = 0, |
|
$a_skills = null |
|||
| ) |
Get gap analysis html.
return
Definition at line 929 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, $path, ilObject\_lookupTitle(), ilSkillTreeNode\_lookupTitle(), getGapAnalysisSelfEvalLevels(), ilPanelGUI\getInstance(), ilChart\getInstanceByType(), getProfileId(), getSkillHTML(), ilPanelGUI\PANEL_STYLE_PRIMARY, ilSkillTreeNode\STATUS_DRAFT, and ilChart\TYPE_SPIDER.
Referenced by listProfiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSkillsGUI::getGapAnalysisSelfEvalLevels | ( | ) |
Get self evaluation levels for gap analysis.
Definition at line 85 of file class.ilPersonalSkillsGUI.php.
References $gap_self_eval_levels.
Referenced by getGapAnalysisHTML(), and renderGapSelfEvalRow().
Here is the caller graph for this function:| ilPersonalSkillsGUI::getMaterialInfo | ( | $a_wsp_id, | |
| $a_user_id | |||
| ) |
Get material file name and goto url.
| int | $a_wsp_id |
Definition at line 407 of file class.ilPersonalSkillsGUI.php.
References $file, ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by renderMaterialsRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSkillsGUI::getProfileId | ( | ) |
Get profile id.
Definition at line 65 of file class.ilPersonalSkillsGUI.php.
Referenced by getGapAnalysisHTML(), getSkillHTML(), renderActualLevelsRow(), renderProfileTargetRow(), and renderSuggestedResources().
Here is the caller graph for this function:| 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 200 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $path, $tpl, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), ilTooltipGUI\addTooltip(), 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 getGapAnalysisHTML(), and listSkills().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSkillsGUI::getTooltipsJs | ( | ) |
Definition at line 396 of file class.ilPersonalSkillsGUI.php.
| ilPersonalSkillsGUI::listProfiles | ( | ) |
List profiles.
return
Definition at line 858 of file class.ilPersonalSkillsGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $options, $si, $tpl, getGapAnalysisHTML(), ilSkillProfile\getProfilesOfUser(), and setProfileId().
Here is the call graph for this function:| ilPersonalSkillsGUI::listSkills | ( | ) |
List skills.
Definition at line 153 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilUser, $lng, $path, $tpl, ilPersonalSkill\getSelectedUserSkills(), getSkillHTML(), setTabs(), and ilSkillTreeNode\STATUS_DRAFT.
Here is the call graph for this function:| ilPersonalSkillsGUI::listSkillsForAdd | ( | ) |
LIst skills for adding.
return
Definition at line 829 of file class.ilPersonalSkillsGUI.php.
References $ilCtrl, $ilUser, $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPersonalSkillsGUI::removeMaterial | ( | ) |
Remove material.
Definition at line 717 of file class.ilPersonalSkillsGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, ilPersonalSkill\removeMaterial(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPersonalSkillsGUI::removeSkills | ( | ) |
Remove skills.
Definition at line 518 of file class.ilPersonalSkillsGUI.php.
References $_POST, $ilCtrl, $ilUser, $lng, ilPersonalSkill\removeSkill(), and ilUtil\sendSuccess().
Here is the call graph for this function:| 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)
return
Definition at line 1340 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, ilObject\_lookupTitle(), and getProfileId().
Referenced by getSkillHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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)
return
Definition at line 1396 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, and getGapAnalysisSelfEvalLevels().
Referenced by getSkillHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSkillsGUI::renderMaterialsRow | ( | $a_tpl, | |
| $a_levels, | |||
| $a_top_skill_id, | |||
| $a_base_skill, | |||
$a_tref_id = 0, |
|||
$a_user_id = 0 |
|||
| ) |
Render materials row.
return
Definition at line 1207 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, ilTooltipGUI\addTooltip(), ilPersonalSkill\countAssignedMaterial(), ilPersonalSkill\getAssignedMaterial(), and getMaterialInfo().
Referenced by getSkillHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSkillsGUI::renderObjectEvalRow | ( | $a_tpl, | |
| $a_levels, | |||
| $a_level_entry | |||
| ) |
Render object evaluation row (has_level table)
return
Definition at line 1443 of file class.ilPersonalSkillsGUI.php.
References $lng, IL_CAL_DATETIME, and ilDatePresentation\setUseRelativeDates().
Referenced by getSkillHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
return
Definition at line 1290 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, and getProfileId().
Referenced by getSkillHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
return
Definition at line 1147 of file class.ilPersonalSkillsGUI.php.
References $ilUser, $lng, ilPersonalSkill\getSelfEvaluation(), ilPersonalSkill\getSelfEvaluationDate(), IL_CAL_DATETIME, and ilDatePresentation\setUseRelativeDates().
Here is the call graph for this function:| ilPersonalSkillsGUI::renderSuggestedResources | ( | $a_tpl, | |
| $a_levels, | |||
| $a_base_skill, | |||
| $a_tref_id | |||
| ) |
Render suggested resources.
return
Definition at line 1507 of file class.ilPersonalSkillsGUI.php.
References $lng, $ref_id, $res, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), getProfileId(), and ilBasicSkill\lookupLevelTitle().
Referenced by getSkillHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSkillsGUI::saveSelfEvaluation | ( | ) |
Save self evaluation.
Definition at line 806 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lng, ilPersonalSkill\saveSelfEvaluation(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPersonalSkillsGUI::selectMaterial | ( | ) |
Select material.
Definition at line 689 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lng, ilPersonalSkill\assignMaterial(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPersonalSkillsGUI::selectProfile | ( | ) |
| ilPersonalSkillsGUI::selfEvaluation | ( | ) |
Assign materials to skill levels.
return
Definition at line 739 of file class.ilPersonalSkillsGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, $options, $si, $tab, $tpl, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), and ilUtil\getImagePath().
Here is the call graph for this function:| 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 915 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 902 of file class.ilPersonalSkillsGUI.php.
| 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 75 of file class.ilPersonalSkillsGUI.php.
| ilPersonalSkillsGUI::setOfflineMode | ( | $a_file_path | ) |
Definition at line 145 of file class.ilPersonalSkillsGUI.php.
| ilPersonalSkillsGUI::setProfileId | ( | $a_val | ) |
Set profile id.
| $a_val |
Definition at line 55 of file class.ilPersonalSkillsGUI.php.
Referenced by listProfiles().
Here is the caller graph for this function:| ilPersonalSkillsGUI::setTabs | ( | $a_activate | ) |
Set tabs.
Definition at line 128 of file class.ilPersonalSkillsGUI.php.
Referenced by listSkills().
Here is the caller graph for this function:
|
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 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.