ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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...
 

Protected Attributes

 $ctrl
 
 $tpl
 
 $tabs
 
 $lng
 
- Protected Attributes inherited from ilSkillTreeNodeGUI
 $ctrl
 
 $lng
 
 $locator
 
 $tpl
 
 $user
 

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 42 of file class.ilSkillTemplateGUI.php.

References $DIC, and $ilCtrl.

43  {
44  global $DIC;
45 
46  $this->ctrl = $DIC->ctrl();
47  $this->tpl = $DIC["tpl"];
48  $this->tabs = $DIC->tabs();
49  $this->lng = $DIC->language();
50  $ilCtrl = $DIC->ctrl();
51 
52  $ilCtrl->saveParameter($this, "obj_id");
53 
54  parent::__construct($a_node_id);
55  }
global $DIC
Definition: saml.php:7
global $ilCtrl
Definition: ilias.php:18

Member Function Documentation

◆ executeCommand()

ilSkillTemplateGUI::executeCommand ( )

Execute command.

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

References $ctrl, $ilCtrl, $ret, $tabs, and $tpl.

69  {
71  $tpl = $this->tpl;
72  $ilTabs = $this->tabs;
73 
74  //$tpl->getStandardTemplate();
75 
76  $next_class = $ilCtrl->getNextClass($this);
77  $cmd = $ilCtrl->getCmd();
78 
79  switch ($next_class) {
80  default:
81  $ret = $this->$cmd();
82  break;
83  }
84  }
global $ilCtrl
Definition: ilias.php:18
$ret
Definition: parser.php:6

◆ getType()

ilSkillTemplateGUI::getType ( )

Get Node Type.

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

61  {
62  return "stmp";
63  }

◆ proceedDragDrop()

ilSkillTemplateGUI::proceedDragDrop ( )

Perform drag and drop action.

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

References $ctrl, and $ilCtrl.

107  {
109 
110  // $this->slm_object->executeDragDrop($_POST["il_hform_source_id"], $_POST["il_hform_target_id"],
111 // $_POST["il_hform_fc"], $_POST["il_hform_as_subitem"]);
112 // $ilCtrl->redirect($this, "showOrganization");
113  }
global $ilCtrl
Definition: ilias.php:18

◆ setTabs()

ilSkillTemplateGUI::setTabs ( )

output tabs

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

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

90  {
91  $ilTabs = $this->tabs;
93  $tpl = $this->tpl;
94  $lng = $this->lng;
95 
96  $tpl->setTitleIcon(ilUtil::getImagePath("icon_skmg.svg"));
97  $tpl->setTitle(
98  $lng->txt("skmg_skill_template") . ": " . $this->node_object->getTitle()
99  );
100  }
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)
+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilSkillTemplateGUI::$ctrl
protected

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

Referenced by executeCommand(), proceedDragDrop(), and setTabs().

◆ $lng

ilSkillTemplateGUI::$lng
protected

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

Referenced by setTabs().

◆ $tabs

ilSkillTemplateGUI::$tabs
protected

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

Referenced by executeCommand(), and setTabs().

◆ $tpl

ilSkillTemplateGUI::$tpl
protected

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

Referenced by executeCommand(), and setTabs().


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