ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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...
 
 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

- 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 25 of file class.ilSCORM2004AssetGUI.php.

References $ilCtrl.

26  {
27  global $ilCtrl;
28 
29  $ilCtrl->saveParameter($this, "obj_id");
30  $this->ctrl = $ilCtrl;
31 
32  parent::__construct($a_slm_obj, $a_node_id);
33  }
global $ilCtrl
Definition: ilias.php:18

Member Function Documentation

◆ getType()

ilSCORM2004AssetGUI::getType ( )

Get Node Type.

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

39  {
40  return "ass";
41  }

◆ setTabs()

ilSCORM2004AssetGUI::setTabs ( )

output tabs

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

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

63  {
64  global $ilTabs, $ilCtrl, $tpl, $lng, $ilHelp;
65 
66  $ilHelp->setScreenIdComponent("sahsed");
67 
68  // subelements
69  $ilTabs->addTarget("sahs_organization",
70  $ilCtrl->getLinkTarget($this,'showOrganization'),
71  "showOrganization", get_class($this));
72 
73  // questions
74  $ilTabs->addTarget("sahs_questions",
75  $ilCtrl->getLinkTarget($this,'sahs_questions'),
76  "sahs_questions", get_class($this));
77 
78  // resources
79  $ilTabs->addTarget("cont_files",
80  $ilCtrl->getLinkTarget($this,'sco_resources'),
81  "sco_resources", get_class($this));
82 
83  // metadata
84  $ilTabs->addTarget("meta_data",
85  $ilCtrl->getLinkTargetByClass("ilmdeditorgui",''),
86  "", "ilmdeditorgui");
87 
88  // export
89 /*
90  $ilTabs->addTarget("export",
91  $ilCtrl->getLinkTarget($this, "showExportList"), "showExportList",
92  get_class($this));
93 
94  // import
95  $ilTabs->addTarget("import",
96  $ilCtrl->getLinkTarget($this, "import"), "import",
97  get_class($this));
98 */
99  // preview
100  $ilTabs->addNonTabbedLink("preview",
101  $lng->txt("cont_preview"),
102  $ilCtrl->getLinkTarget($this,'sco_preview'), "_blank");
103 
104  $tpl->setTitleIcon(ilUtil::getImagePath("icon_ass.svg"));
105  $tpl->setTitle(
106  $lng->txt("obj_ass").": ".$this->node_object->getTitle());
107  }
global $tpl
Definition: ilias.php:8
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)
global $lng
Definition: privfeed.php:17
+ Here is the call graph for this function:

◆ showProperties()

ilSCORM2004AssetGUI::showProperties ( )

Overwrite learning objectives editing function.

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

47  {
48  return;
49  }

◆ updateProperties()

ilSCORM2004AssetGUI::updateProperties ( )

Overwrite learning objectives update function.

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

55  {
56  return;
57  }

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