ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
5include_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::ilSkillTreeNodeGUI($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?>
global $tpl
Definition: ilias.php:8
Skill template GUI class.
proceedDragDrop()
Perform drag and drop action.
& executeCommand()
Execute command.
__construct($a_node_id=0)
Constructor.
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 $ilCtrl
Definition: ilias.php:18
global $lng
Definition: privfeed.php:40
$cmd
Definition: sahs_server.php:35