ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSCORM2004AssetGUI Class Reference

Class ilSCORM2004AssetGUI. More...

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

Public Member Functions

 ilSCORM2004AssetGUI ($a_slm_obj, $a_node_id=0)
 Constructor public.
 getType ()
 Get Node Type.
 showProperties ()
 Overwrite learning objectives editing function.
 updateProperties ()
 Overwrite learning objectives update function.
 setTabs ()
 output tabs
- Public Member Functions inherited from ilSCORM2004ScoGUI
 ilSCORM2004ScoGUI ($a_slm_obj, $a_node_id=0)
executeCommand ()
 execute command
 sahs_questions ()
 getEditTree ()
 proceedDragDrop ()
 Perform drag and drop action.
 sco_preview ()
 SCO preview.
 selectExport ()
 Select the export type of the SCORM 2004 module.
 showExportList ()
 exportScorm2004_4th ()
 exportScorm2004_3rd ()
 exportScorm12 ()
 exportHTML ()
 exportISO ()
 exportPDF ()
 downloadExportFile ()
 confirmDeleteExportFile ()
 confirmation screen for export file deletion
 cancelDeleteExportFile ()
 cancel deletion of export files
 deleteExportFile ()
 delete export files
 getExportResources ()
 sco_resources ()
 downloadResource ()
 downloadFile ()
 import ()
 importSave ()
 cancel ()
 Cancel action.
- Public Member Functions inherited from ilSCORM2004NodeGUI
 ilSCORM2004NodeGUI ($a_slm_obj, $a_node_id=0)
 constructor
 setParentGUI ($a_parentgui)
 Set Parent GUI class (ilObjSCORM2004LearningModuleGUI).
 getParentGUI ()
 Get Parent GUI class (ilObjSCORM2004LearningModuleGUI).
 getNodeObject ($a_node_id)
 Get node object (chapter/sco/page)
 putInTree ($a_parent_id, $a_target)
 put this object into content object tree
 showOrganization ()
 Confirm deletion screen (delete page or structure objects)
 insertChapter ()
 Insert Chapter.
 insertSco ()
 Insert Sco.
 insertAsset ()
 Insert Asset.
 insertPage ()
 Insert Page.
 insertTemplateGUI ()
 Insert Page with Layout.
 insertSpecialPage ()
 Insert special page.
 collapseAll ()
 Collapse all.
 ExpandAll ()
 Expand all.
 saveAllTitles ()
 Save Titles.
 deleteNodes ()
 Delete nodes in the hierarchy.
 cancelDelete ()
 cancel delete
 confirmedDelete ()
 confirmed delete
 setLocator ()
 Set Locator Items.
 setContentStyle ()
 Set content style sheet.
 copyItems ($a_return="showOrganization")
 Copy items to clipboard.
 cutItems ($a_return="showOrganization")
 Copy items to clipboard, then cut them from the current tree.
 insertPageClip ()
 Insert pages from clipboard.
 insertScoClip ()
 Insert scos from clipboard.
 insertAssetClip ()
 Insert assets from clipboard.

Additional Inherited Members

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

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.

Member Function Documentation

ilSCORM2004AssetGUI::getType ( )

Get Node Type.

Reimplemented from ilSCORM2004ScoGUI.

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

{
return "ass";
}
ilSCORM2004AssetGUI::ilSCORM2004AssetGUI (   $a_slm_obj,
  $a_node_id = 0 
)

Constructor public.

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

References $ilCtrl.

{
global $ilCtrl;
$ilCtrl->saveParameter($this, "obj_id");
$this->ctrl = $ilCtrl;
parent::__construct($a_slm_obj, $a_node_id);
}
ilSCORM2004AssetGUI::setTabs ( )

output tabs

Reimplemented from ilSCORM2004ScoGUI.

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

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

{
global $ilTabs, $ilCtrl, $tpl, $lng;
// subelements
$ilTabs->addTarget("sahs_organization",
$ilCtrl->getLinkTarget($this,'showOrganization'),
"showOrganization", get_class($this));
// questions
$ilTabs->addTarget("sahs_questions",
$ilCtrl->getLinkTarget($this,'sahs_questions'),
"sahs_questions", get_class($this));
// resources
$ilTabs->addTarget("cont_files",
$ilCtrl->getLinkTarget($this,'sco_resources'),
"sco_resources", get_class($this));
// metadata
$ilTabs->addTarget("meta_data",
$ilCtrl->getLinkTargetByClass("ilmdeditorgui",''),
"", "ilmdeditorgui");
// export
/*
$ilTabs->addTarget("export",
$ilCtrl->getLinkTarget($this, "showExportList"), "showExportList",
get_class($this));
// import
$ilTabs->addTarget("import",
$ilCtrl->getLinkTarget($this, "import"), "import",
get_class($this));
*/
// preview
$ilTabs->addNonTabbedLink("preview",
$lng->txt("cont_preview"),
$ilCtrl->getLinkTarget($this,'sco_preview'), "_blank");
$tpl->setTitleIcon(ilUtil::getImagePath("icon_ass_b.png"));
$tpl->setTitle(
$lng->txt("obj_ass").": ".$this->node_object->getTitle());
}

+ Here is the call graph for this function:

ilSCORM2004AssetGUI::showProperties ( )

Overwrite learning objectives editing function.

Reimplemented from ilSCORM2004ScoGUI.

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

{
return;
}
ilSCORM2004AssetGUI::updateProperties ( )

Overwrite learning objectives update function.

Reimplemented from ilSCORM2004ScoGUI.

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

{
return;
}

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