ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 @access public. More...
 
 setTabs ()
 output tabs More...
 
 getType ()
 Get Node Type. More...
 
- Public Member Functions inherited from ilSCORM2004ChapterGUI
 __construct ($a_slm_obj, $a_node_id=0)
 Constructor @access 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...
 
 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$

@ilCtrl_Calls 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 @access public.

Reimplemented from ilSCORM2004ChapterGUI.

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

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 $ilCtrl
Definition: ilias.php:18
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$DIC
Definition: xapitoken.php:46

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getType()

ilSCORM2004SeqChapterGUI::getType ( )

Get Node Type.

Reimplemented from ilSCORM2004ChapterGUI.

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

73 {
74 return "seqc";
75 }

◆ setTabs()

ilSCORM2004SeqChapterGUI::setTabs ( )

output tabs

Reimplemented from ilSCORM2004ChapterGUI.

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

60 {
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)

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

+ Here is the call graph for this function:

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