ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilSkillTemplateGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/Skill/classes/class.ilSkillTreeNodeGUI.php");
6 
17 {
18 
22  function __construct($a_node_id = 0)
23  {
24  global $ilCtrl;
25 
26  $ilCtrl->saveParameter($this, "obj_id");
27 
28  parent::__construct($a_node_id);
29  }
30 
34  function getType()
35  {
36  return "stmp";
37  }
38 
42  function executeCommand()
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  }
58 
62  function setTabs()
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  }
70 
71 
75  function proceedDragDrop()
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  }
83 
84 }
85 
86 ?>
__construct($a_node_id=0)
Constructor.
proceedDragDrop()
Perform drag and drop action.
$cmd
Definition: sahs_server.php:35
global $tpl
Definition: ilias.php:8
global $ilCtrl
Definition: ilias.php:18
Skill template GUI class.
Basic GUI class for skill tree nodes.
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
$ret
Definition: parser.php:6
executeCommand()
Execute command.