|
ILIAS
Release_5_0_x_branch Revision 61816
|
Personal skills GUI class. More...
Collaboration diagram for ilPersonalSkillsGUI:Public Member Functions | |
| __construct () | |
| Contructor. | |
| setProfileId ($a_val) | |
| Set profile id. | |
| getProfileId () | |
| Get profile id. | |
| setGapAnalysisSelfEvalLevels ($a_val) | |
| Set self evaluation levels for gap analysis. | |
| getGapAnalysisSelfEvalLevels () | |
| Get self evaluation levels for gap analysis. | |
| executeCommand () | |
| Execute command. | |
| setTabs ($a_activate) | |
| Set tabs. | |
| setOfflineMode ($a_file_path) | |
| listSkills () | |
| List skills. | |
| getSkillHTML ($a_top_skill_id, $a_user_id=0, $a_edit=false, $a_tref_id=0) | |
| Get skill presentation HTML. | |
| getTooltipsJs () | |
| getMaterialInfo ($a_wsp_id, $a_user_id) | |
| Get material file name and goto url. | |
| addSkill () | |
| Add personal skill. | |
| confirmSkillRemove () | |
| Confirm skill remove. | |
| removeSkills () | |
| Remove skills. | |
| assignMaterials () | |
| Assign materials to skill levels. | |
| assignMaterial () | |
| Assign materials to skill level. | |
| selectMaterial () | |
| Select material. | |
| removeMaterial () | |
| Remove material. | |
| selfEvaluation () | |
| Assign materials to skill levels. | |
| saveSelfEvaluation () | |
| Save self evaluation. | |
| listSkillsForAdd () | |
| LIst skills for adding. | |
| listProfiles () | |
| List profiles. | |
| setGapAnalysisActualStatusModePerType ($a_type, $a_cat_title="") | |
| Set gap analysis actual status mode "per type". | |
| setGapAnalysisActualStatusModePerObject ($a_obj_id, $a_cat_title="") | |
| Set gap analysis actual status mode "per object". | |
| getGapAnalysisHTML ($a_user_id=0, $a_skills=null) | |
| Get gap analysis html. | |
| selectProfile () | |
| Select profile. | |
| renderSelfEvaluationRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
| Render self evaluation row. | |
| renderMaterialsRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
| Render materials row. | |
| renderProfileTargetRow ($a_tpl, $a_levels, $a_top_skill_id, $a_base_skill, $a_tref_id=0, $a_user_id=0) | |
| Render profile target row. | |
| 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) | |
| 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) | |
| renderObjectEvalRow ($a_tpl, $a_levels, $a_level_entry) | |
| Render object evaluation row (has_level table) | |
| renderSuggestedResources ($a_tpl, $a_levels, $a_base_skill, $a_tref_id) | |
| Render suggested resources. | |
Static Public Attributes | |
| static | $skill_tt_cnt = 1 |
Protected Attributes | |
| $offline_mode | |
| $skill_tree | |
| $actual_levels = array() | |
| $gap_self_eval_levels = array() | |
| $mode = "" | |
| ilPersonalSkillsGUI::__construct | ( | ) |
Contructor.
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().
Referenced by selectMaterial().
Here is the call graph for this function:
Here is the caller 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.
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, ilSkillTreeNode\_lookupTitle(), ilObject\_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, 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 1339 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 1395 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 1442 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 1506 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, 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, 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.