ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSkillTemplateGUI Class Reference

Skill template GUI class. More...

+ Inheritance diagram for ilSkillTemplateGUI:
+ Collaboration diagram for ilSkillTemplateGUI:

Public Member Functions

 __construct ($a_node_id=0)
 Constructor. More...
 
 getType ()
 Get Node Type. More...
 
 executeCommand ()
 Execute command. More...
 
 setTabs ()
 output tabs More...
 
 proceedDragDrop ()
 Perform drag and drop action. More...
 
- Public Member Functions inherited from ilSkillTreeNodeGUI
 __construct ($a_node_id=0)
 constructor More...
 
 isInUse ()
 Is in use? More...
 
 checkPermissionBool ($a_perm)
 Check permission pool. More...
 
 setParentGUI ($a_parentgui)
 Set Parent GUI class. More...
 
 getParentGUI ()
 Get Parent GUI class (ilObjSCORM2004LearningModuleGUI). More...
 
 readNodeObject ($a_node_id)
 Get node object instance. More...
 
 saveAllTitles ()
 Save Titles. More...
 
 deleteNodes ()
 Delete nodes in the hierarchy. More...
 
 cutItems ()
 Copy items to clipboard, then cut them from the current tree. More...
 
 copyItems ()
 Copy items to clipboard. More...
 
 cancelDelete ()
 cancel delete More...
 
 confirmedDelete ()
 confirmed delete More...
 
 setLocator ()
 Set Locator Items. More...
 
 setSkillNodeDescription ()
 Set skill node description. More...
 
 create ()
 Create skill tree node. More...
 
 addStatusInput (ilPropertyFormGUI $a_form)
 Add status input. More...
 
 editProperties ()
 Edit properties form. More...
 
 getPropertyValues ()
 Get property values for edit form. More...
 
 save ()
 Save skill tree node. More...
 
 afterSave ()
 After saving. More...
 
 update ()
 Update skill tree node. More...
 
 afterUpdate ()
 After update. More...
 
 initForm ($a_mode="edit")
 Init form. More...
 
 cancelSave ()
 Cancel saving. More...
 
 redirectToParent ($a_tmp_mode=false)
 Redirect to parent (identified by current obj_id) More...
 
 saveOrder ()
 Save order. More...
 
 insertBasicSkillClip ()
 Insert basic skills from clipboard. More...
 
 insertSkillCategoryClip ()
 Insert skill categories from clipboard. More...
 
 insertTemplateReferenceClip ()
 Insert skill template references from clipboard. More...
 
 insertSkillTemplateClip ()
 Insert skill template from clipboard. More...
 
 insertTemplateCategoryClip ()
 Insert skill template category from clipboard. More...
 
 setTitleIcon ()
 Set title icon. More...
 
 addUsageTab ($a_tabs)
 Add usage tab. More...
 
 showUsage ()
 Show skill usage. More...
 
 exportSelectedNodes ()
 Export seleced nodes. More...
 

Additional Inherited Members

- Data Fields inherited from ilSkillTreeNodeGUI
 $node_object
 
 $in_use = false
 
 $use_checked = false
 
 $access
 
 $ref_id
 

Detailed Description

Skill template GUI class.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

ilSkillCategoryGUI: ilObjSkillManagementGUI

Definition at line 16 of file class.ilSkillTemplateGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilSkillTemplateGUI::__construct (   $a_node_id = 0)

Constructor.

Definition at line 22 of file class.ilSkillTemplateGUI.php.

References $ilCtrl.

23  {
24  global $ilCtrl;
25 
26  $ilCtrl->saveParameter($this, "obj_id");
27 
28  parent::__construct($a_node_id);
29  }
global $ilCtrl
Definition: ilias.php:18

Member Function Documentation

◆ executeCommand()

ilSkillTemplateGUI::executeCommand ( )

Execute command.

Definition at line 42 of file class.ilSkillTemplateGUI.php.

References $cmd, $ilCtrl, $ret, and $tpl.

43  {
44  global $ilCtrl, $tpl, $ilTabs;
45 
46  //$tpl->getStandardTemplate();
47 
48  $next_class = $ilCtrl->getNextClass($this);
49  $cmd = $ilCtrl->getCmd();
50 
51  switch($next_class)
52  {
53  default:
54  $ret = $this->$cmd();
55  break;
56  }
57  }
$cmd
Definition: sahs_server.php:35
global $tpl
Definition: ilias.php:8
global $ilCtrl
Definition: ilias.php:18
$ret
Definition: parser.php:6

◆ getType()

ilSkillTemplateGUI::getType ( )

Get Node Type.

Definition at line 34 of file class.ilSkillTemplateGUI.php.

35  {
36  return "stmp";
37  }

◆ proceedDragDrop()

ilSkillTemplateGUI::proceedDragDrop ( )

Perform drag and drop action.

Definition at line 75 of file class.ilSkillTemplateGUI.php.

References $ilCtrl.

76  {
77  global $ilCtrl;
78 
79 // $this->slm_object->executeDragDrop($_POST["il_hform_source_id"], $_POST["il_hform_target_id"],
80 // $_POST["il_hform_fc"], $_POST["il_hform_as_subitem"]);
81 // $ilCtrl->redirect($this, "showOrganization");
82  }
global $ilCtrl
Definition: ilias.php:18

◆ setTabs()

ilSkillTemplateGUI::setTabs ( )

output tabs

Definition at line 62 of file class.ilSkillTemplateGUI.php.

References $ilCtrl, $lng, $tpl, and ilUtil\getImagePath().

63  {
64  global $ilTabs, $ilCtrl, $tpl, $lng;
65 
66  $tpl->setTitleIcon(ilUtil::getImagePath("icon_skmg.svg"));
67  $tpl->setTitle(
68  $lng->txt("skmg_skill_template").": ".$this->node_object->getTitle());
69  }
global $tpl
Definition: ilias.php:8
global $ilCtrl
Definition: ilias.php:18
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
global $lng
Definition: privfeed.php:17
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: