ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilSCORM2004SeqChapterGUI Class Reference

Class ilSCORM2004ChapterGUI. More...

+ Inheritance diagram for ilSCORM2004SeqChapterGUI:
+ Collaboration diagram for ilSCORM2004SeqChapterGUI:

Public Member Functions

 __construct ($a_slm_obj, $a_node_id=0)
 Constructor public. More...
 
 setTabs ()
 
 getType ()
 Get Node Type. More...
 
- Public Member Functions inherited from ilSCORM2004ChapterGUI
 __construct ($a_slm_obj, $a_node_id=0)
 Constructor public. More...
 
 getType ()
 Get Node Type. More...
 
 executeCommand ()
 execute command More...
 
 setTabs ()
 output tabs More...
 
 showProperties ()
 Show Sequencing. More...
 
 proceedDragDrop ()
 Perform drag and drop action. More...
 
- Public Member Functions inherited from ilSCORM2004NodeGUI
 __construct ($a_slm_obj, $a_node_id=0)
 constructor More...
 
 setParentGUI ($a_parentgui)
 Set Parent GUI class (ilObjSCORM2004LearningModuleGUI). More...
 
 getParentGUI ()
 Get Parent GUI class (ilObjSCORM2004LearningModuleGUI). More...
 
 getNodeObject ($a_node_id)
 Get node object (chapter/sco/page) More...
 
 putInTree ($a_parent_id, $a_target)
 put this object into content object tree More...
 
 showOrganization ()
 Confirm deletion screen (delete page or structure objects) More...
 
 insertChapter ()
 Insert Chapter. More...
 
 insertSco ()
 Insert Sco. More...
 
 insertAsset ()
 Insert Asset. More...
 
 insertPage ()
 Insert Page. More...
 
 insertTemplateGUI ()
 Insert Page with Layout. More...
 
 insertSpecialPage ()
 Insert special page. More...
 
 collapseAll ()
 Collapse all. More...
 
 ExpandAll ()
 Expand all. More...
 
 saveAllTitles ()
 Save Titles. More...
 
 deleteNodes ()
 Delete nodes in the hierarchy. More...
 
 cancelDelete ()
 cancel delete More...
 
 confirmedDelete ()
 confirmed delete More...
 
 setLocator ()
 Set Locator Items. More...
 
 setContentStyle ()
 Set content style sheet. More...
 
 copyItems ($a_return="showOrganization")
 Copy items to clipboard. More...
 
 cutItems ($a_return="showOrganization")
 Copy items to clipboard, then cut them from the current tree. More...
 
 insertPageClip ()
 Insert pages from clipboard. More...
 
 insertScoClip ()
 Insert scos from clipboard. More...
 
 insertAssetClip ()
 Insert assets from clipboard. More...
 
 insertLMChapterClip ()
 Insert scos from clipboard. More...
 

Additional Inherited Members

- Data Fields inherited from ilSCORM2004NodeGUI
 $node_object
 
 $slm_object
 
- Protected Attributes inherited from ilSCORM2004ChapterGUI
 $ctrl
 
 $tpl
 
 $tabs
 
 $lng
 
 $help
 
- Protected Attributes inherited from ilSCORM2004NodeGUI
 $lng
 
 $ctrl
 
 $tpl
 
 $tabs
 
 $locator
 
 $user
 

Detailed Description

Class ilSCORM2004ChapterGUI.

User Interface for Scorm 2004 Chapter Nodes

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

ilSCORM2004SeqChapterGUI: ilMDEditorGUI, ilNoteGUI

Definition at line 39 of file class.ilSCORM2004SeqChapterGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilSCORM2004SeqChapterGUI::__construct (   $a_slm_obj,
  $a_node_id = 0 
)

Constructor public.

Definition at line 46 of file class.ilSCORM2004SeqChapterGUI.php.

References $DIC, and $ilCtrl.

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

Member Function Documentation

◆ getType()

ilSCORM2004SeqChapterGUI::getType ( )

Get Node Type.

Definition at line 72 of file class.ilSCORM2004SeqChapterGUI.php.

73  {
74  return "seqc";
75  }

◆ setTabs()

ilSCORM2004SeqChapterGUI::setTabs ( )

Definition at line 59 of file class.ilSCORM2004SeqChapterGUI.php.

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

60  {
61  $tpl = $this->tpl;
62  $lng = $this->lng;
63 
64  parent::setTabs();
65  $tpl->setTitleIcon(ilUtil::getImagePath("icon_seqc.svg"));
66  $tpl->setTitle($lng->txt("sahs_chapter") . ": " . $this->node_object->getTitle());
67  }
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:

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