ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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...
 
 addObjectsTab ($a_tabs)
 
 showObjects ()
 Show assigned objects. 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

Constructor & Destructor Documentation

◆ __construct()

ilSkillTemplateGUI::__construct (   $a_node_id = 0)

Constructor.

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

References $DIC, and ILIAS\GlobalScreen\Provider\__construct().

38  {
39  global $DIC;
40 
41  $this->ctrl = $DIC->ctrl();
42  $this->tpl = $DIC["tpl"];
43  $this->tabs = $DIC->tabs();
44  $this->lng = $DIC->language();
45  $ilCtrl = $DIC->ctrl();
46 
47  $ilCtrl->saveParameter($this, "obj_id");
48 
49  parent::__construct($a_node_id);
50  }
global $DIC
Definition: goto.php:24
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilSkillTemplateGUI::executeCommand ( )

Execute command.

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

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

64  {
65  $ilCtrl = $this->ctrl;
66  $tpl = $this->tpl;
67  $ilTabs = $this->tabs;
68 
69  //$tpl->getStandardTemplate();
70 
71  $next_class = $ilCtrl->getNextClass($this);
72  $cmd = $ilCtrl->getCmd();
73 
74  switch ($next_class) {
75  default:
76  $ret = $this->$cmd();
77  break;
78  }
79  }
$ret
Definition: parser.php:6

◆ getType()

ilSkillTemplateGUI::getType ( )

Get Node Type.

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

56  {
57  return "stmp";
58  }

◆ proceedDragDrop()

ilSkillTemplateGUI::proceedDragDrop ( )

Perform drag and drop action.

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

References $ctrl.

102  {
103  $ilCtrl = $this->ctrl;
104 
105  // $this->slm_object->executeDragDrop($_POST["il_hform_source_id"], $_POST["il_hform_target_id"],
106 // $_POST["il_hform_fc"], $_POST["il_hform_as_subitem"]);
107 // $ilCtrl->redirect($this, "showOrganization");
108  }

◆ setTabs()

ilSkillTemplateGUI::setTabs ( )

output tabs

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

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

85  {
86  $ilTabs = $this->tabs;
87  $ilCtrl = $this->ctrl;
88  $tpl = $this->tpl;
89  $lng = $this->lng;
90 
91  $tpl->setTitleIcon(ilUtil::getImagePath("icon_skmg.svg"));
92  $tpl->setTitle(
93  $lng->txt("skmg_skill_template") . ": " . $this->node_object->getTitle()
94  );
95  }
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 16 of file class.ilSkillTemplateGUI.php.

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

◆ $lng

ilSkillTemplateGUI::$lng
protected

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

Referenced by setTabs().

◆ $tabs

ilSkillTemplateGUI::$tabs
protected

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

Referenced by executeCommand(), and setTabs().

◆ $tpl

ilSkillTemplateGUI::$tpl
protected

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

Referenced by executeCommand(), and setTabs().


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