ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSCORM2004AssetGUI Class Reference

Class ilSCORM2004AssetGUI. More...

+ Inheritance diagram for ilSCORM2004AssetGUI:
+ Collaboration diagram for ilSCORM2004AssetGUI:

Public Member Functions

 __construct ($a_slm_obj, $a_node_id=0)
 Constructor public. More...
 
 getType ()
 Get Node Type. More...
 
 showProperties ()
 Overwrite learning objectives editing function. More...
 
 updateProperties ()
 Overwrite learning objectives update function. More...
 
 setTabs ()
 output tabs More...
 
- Public Member Functions inherited from ilSCORM2004ScoGUI
 __construct ($a_slm_obj, $a_node_id=0)
 
 getType ()
 Get Node Type. More...
 
 executeCommand ()
 execute command More...
 
 showProperties ()
 Show learning objectives. More...
 
 updateProperties ()
 update Properties More...
 
 sahs_questions ()
 
 getEditTree ()
 
 setTabs ()
 output tabs More...
 
 proceedDragDrop ()
 Perform drag and drop action. More...
 
 sco_preview ()
 SCO preview. More...
 
 selectExport ()
 Select the export type of the SCORM 2004 module. More...
 
 showExportList ()
 
 exportScorm2004_4th ()
 
 exportScorm2004_3rd ()
 
 exportScorm12 ()
 
 exportHTML ()
 
 exportISO ()
 
 exportPDF ()
 
 downloadExportFile ()
 
 confirmDeleteExportFile ()
 confirmation screen for export file deletion More...
 
 cancelDeleteExportFile ()
 cancel deletion of export files More...
 
 deleteExportFile ()
 delete export files More...
 
 getExportResources ()
 
 sco_resources ()
 
 downloadResource ()
 
 downloadFile ()
 
 import ()
 
 importSave ()
 
 cancel ()
 Cancel 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 ()
 put this object into content object tree 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...
 

Protected Attributes

 $tabs
 
 $tpl
 
 $lng
 
 $help
 
- Protected Attributes inherited from ilSCORM2004ScoGUI
 $help
 
 $error
 
- Protected Attributes inherited from ilSCORM2004NodeGUI
 $lng
 
 $ctrl
 
 $tpl
 
 $tabs
 
 $locator
 
 $user
 

Additional Inherited Members

- Static Public Member Functions inherited from ilSCORM2004ScoGUI
static getGlossaryOverviewId ()
 Get sco glossary overlay id. More...
 
static getGloOverviewOv ($a_sco)
 des More...
 
- Data Fields inherited from ilSCORM2004ScoGUI
 $ctrl = null
 Constructor public. More...
 
- Data Fields inherited from ilSCORM2004NodeGUI
 $node_object
 
 $slm_object
 

Detailed Description

Class ilSCORM2004AssetGUI.

User Interface for Scorm 2004 Asset Nodes

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

ilSCORM2004AssetGUI: ilMDEditorGUI, ilNoteGUI, ilPCQuestionGUI, ilSCORM2004PageGUI

Definition at line 19 of file class.ilSCORM2004AssetGUI.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor public.

Definition at line 45 of file class.ilSCORM2004AssetGUI.php.

References $DIC, and $ilCtrl.

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

Member Function Documentation

◆ getType()

ilSCORM2004AssetGUI::getType ( )

Get Node Type.

Definition at line 64 of file class.ilSCORM2004AssetGUI.php.

65  {
66  return "ass";
67  }

◆ setTabs()

ilSCORM2004AssetGUI::setTabs ( )

output tabs

Definition at line 88 of file class.ilSCORM2004AssetGUI.php.

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

89  {
90  $ilTabs = $this->tabs;
92  $tpl = $this->tpl;
93  $lng = $this->lng;
94  $ilHelp = $this->help;
95 
96  $ilHelp->setScreenIdComponent("sahsed");
97 
98  // subelements
99  $ilTabs->addTarget(
100  "sahs_organization",
101  $ilCtrl->getLinkTarget($this, 'showOrganization'),
102  "showOrganization",
103  get_class($this)
104  );
105 
106  // questions
107  $ilTabs->addTarget(
108  "sahs_questions",
109  $ilCtrl->getLinkTarget($this, 'sahs_questions'),
110  "sahs_questions",
111  get_class($this)
112  );
113 
114  // resources
115  $ilTabs->addTarget(
116  "cont_files",
117  $ilCtrl->getLinkTarget($this, 'sco_resources'),
118  "sco_resources",
119  get_class($this)
120  );
121 
122  // metadata
123  $ilTabs->addTarget(
124  "meta_data",
125  $ilCtrl->getLinkTargetByClass("ilmdeditorgui", ''),
126  "",
127  "ilmdeditorgui"
128  );
129 
130  // export
131  /*
132  $ilTabs->addTarget("export",
133  $ilCtrl->getLinkTarget($this, "showExportList"), "showExportList",
134  get_class($this));
135 
136  // import
137  $ilTabs->addTarget("import",
138  $ilCtrl->getLinkTarget($this, "import"), "import",
139  get_class($this));
140  */
141  // preview
142  $ilTabs->addNonTabbedLink(
143  "preview",
144  $lng->txt("cont_preview"),
145  $ilCtrl->getLinkTarget($this, 'sco_preview'),
146  "_blank"
147  );
148 
149  $tpl->setTitleIcon(ilUtil::getImagePath("icon_ass.svg"));
150  $tpl->setTitle(
151  $lng->txt("obj_ass") . ": " . $this->node_object->getTitle()
152  );
153  }
$ctrl
Constructor public.
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:

◆ showProperties()

ilSCORM2004AssetGUI::showProperties ( )

Overwrite learning objectives editing function.

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

73  {
74  return;
75  }

◆ updateProperties()

ilSCORM2004AssetGUI::updateProperties ( )

Overwrite learning objectives update function.

Definition at line 80 of file class.ilSCORM2004AssetGUI.php.

81  {
82  return;
83  }

Field Documentation

◆ $help

ilSCORM2004AssetGUI::$help
protected

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

Referenced by setTabs().

◆ $lng

ilSCORM2004AssetGUI::$lng
protected

Definition at line 34 of file class.ilSCORM2004AssetGUI.php.

Referenced by setTabs().

◆ $tabs

ilSCORM2004AssetGUI::$tabs
protected

Definition at line 24 of file class.ilSCORM2004AssetGUI.php.

Referenced by setTabs().

◆ $tpl

ilSCORM2004AssetGUI::$tpl
protected

Definition at line 29 of file class.ilSCORM2004AssetGUI.php.

Referenced by setTabs().


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