ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilSCORM2004ScoGUI. More...
Public Member Functions | |
ilSCORM2004ScoGUI ($a_slm_obj, $a_node_id=0) | |
getType () | |
Get Node Type. | |
& | executeCommand () |
execute command | |
showProperties () | |
Show learning objectives. | |
updateProperties () | |
update Properties | |
sahs_questions () | |
getEditTree () | |
setTabs () | |
output tabs | |
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. |
Static Public Member Functions | |
static | getGlossaryOverviewId () |
Get sco glossary overlay id. | |
static | getGloOverviewOv ($a_sco) |
des |
Data Fields | |
$ctrl = null | |
Constructor public. | |
Data Fields inherited from ilSCORM2004NodeGUI | |
$node_object | |
$slm_object |
Private Member Functions | |
insertQuestion ($matches) |
Class ilSCORM2004ScoGUI.
User Interface for Scorm 2004 SCO Nodes
ilSCORM2004ScoGUI: ilMDEditorGUI, ilNoteGUI, ilPCQuestionGUI, ilSCORM2004PageGUI
Definition at line 21 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::cancel | ( | ) |
Cancel action.
Definition at line 954 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::cancelDeleteExportFile | ( | ) |
cancel deletion of export files
Definition at line 618 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::confirmDeleteExportFile | ( | ) |
confirmation screen for export file deletion
Definition at line 581 of file class.ilSCORM2004ScoGUI.php.
References $_POST, $data, $lng, $tpl, ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSCORM2004ScoGUI::deleteExportFile | ( | ) |
delete export files
Definition at line 628 of file class.ilSCORM2004ScoGUI.php.
References $_POST, $file, $lng, and ilUtil\sendSuccess().
ilSCORM2004ScoGUI::downloadExportFile | ( | ) |
Definition at line 562 of file class.ilSCORM2004ScoGUI.php.
References $_POST, and ilUtil\deliverFile().
ilSCORM2004ScoGUI::downloadFile | ( | ) |
ilSCORM2004ScoGUI::downloadResource | ( | ) |
Definition at line 807 of file class.ilSCORM2004ScoGUI.php.
References $_GET, $file, ilUtil\deliverFile(), exit, and getExportResources().
& ilSCORM2004ScoGUI::executeCommand | ( | ) |
execute command
Definition at line 52 of file class.ilSCORM2004ScoGUI.php.
References $_GET, $cmd, $ilCtrl, $ret, $tpl, ilMDEditorGUI\addObserver(), IL_PAGE_PREVIEW, ilSCORM2004NodeGUI\setLocator(), setTabs(), and ilSCORM2004NodeGUI\showOrganization().
ilSCORM2004ScoGUI::exportHTML | ( | ) |
Definition at line 541 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::exportISO | ( | ) |
Definition at line 548 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::exportPDF | ( | ) |
Definition at line 555 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::exportScorm12 | ( | ) |
Definition at line 534 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::exportScorm2004_3rd | ( | ) |
Definition at line 527 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::exportScorm2004_4th | ( | ) |
Definition at line 519 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::getEditTree | ( | ) |
Definition at line 272 of file class.ilSCORM2004ScoGUI.php.
References ilTree\setTreeTablePK().
ilSCORM2004ScoGUI::getExportResources | ( | ) |
Definition at line 646 of file class.ilSCORM2004ScoGUI.php.
References $path, ilObject\_exists(), ilObjMediaObject\_lookupStandardItemPath(), and ilTree\setTableNames().
Referenced by downloadResource(), and sco_resources().
|
static |
des
@return |
Definition at line 976 of file class.ilSCORM2004ScoGUI.php.
References $lng, $t, $tpl, ilObjSAHSLearningModule\getAffectiveLocalization(), and getGlossaryOverviewId().
Referenced by ilSCORM2004PageGUI\getGlossaryHTML(), and ilSCORM2004PageGUI\postOutputProcessing().
|
static |
Get sco glossary overlay id.
@return |
Definition at line 965 of file class.ilSCORM2004ScoGUI.php.
Referenced by ilSCORM2004PageNodeGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), getGloOverviewOv(), and sco_preview().
ilSCORM2004ScoGUI::getType | ( | ) |
Get Node Type.
Reimplemented in ilSCORM2004AssetGUI.
Definition at line 44 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::ilSCORM2004ScoGUI | ( | $a_slm_obj, | |
$a_node_id = 0 |
|||
) |
Definition at line 31 of file class.ilSCORM2004ScoGUI.php.
References $ilCtrl, and ilSCORM2004NodeGUI\ilSCORM2004NodeGUI().
ilSCORM2004ScoGUI::import | ( | ) |
Definition at line 849 of file class.ilSCORM2004ScoGUI.php.
References $lng, $tpl, ilUtil\getImagePath(), ilSCORM2004NodeGUI\setLocator(), and setTabs().
ilSCORM2004ScoGUI::importSave | ( | ) |
Definition at line 900 of file class.ilSCORM2004ScoGUI.php.
References $_GET, $file, $lng, ilUtil\createDirectory(), ilUtil\moveUploadedFile(), ilUtil\renameExecutables(), and ilUtil\unzip().
|
private |
Definition at line 445 of file class.ilSCORM2004ScoGUI.php.
ilSCORM2004ScoGUI::proceedDragDrop | ( | ) |
Perform drag and drop action.
Definition at line 337 of file class.ilSCORM2004ScoGUI.php.
References $_POST, and $ilCtrl.
ilSCORM2004ScoGUI::sahs_questions | ( | ) |
Definition at line 216 of file class.ilSCORM2004ScoGUI.php.
References $ilCtrl, $lng, $tpl, ilPageObject\_getQuestionIdsForPage(), assQuestion\_getTitle(), ilSCORM2004NodeGUI\setLocator(), ilTree\setTableNames(), setTabs(), and ilUtil\switchColor().
ilSCORM2004ScoGUI::sco_preview | ( | ) |
SCO preview.
Definition at line 350 of file class.ilSCORM2004ScoGUI.php.
References $ilCtrl, $lng, $tpl, ilPageObjectGUI\addPreparationJavascript(), ilObjSAHSLearningModule\getAffectiveLocalization(), ilObjStyleSheet\getContentStylePath(), ilMD\getGeneral(), ilSCORM2004PageGUI\getGlossaryHTML(), getGlossaryOverviewId(), ilUtil\getStyleSheetLocation(), IL_PAGE_PREVIEW, ilSCORM2004PageGUI\initExport(), ilOverlayGUI\initJavascript(), iljQueryUtil\initjQuery(), iljQueryUtil\initjQueryUI(), ilSCORM2004Asset\renderMetaPage(), ilSCORM2004Asset\renderNavigation(), ilPageObjectGUI\setPresentationTitle(), and ilTree\setTableNames().
ilSCORM2004ScoGUI::sco_resources | ( | ) |
Definition at line 698 of file class.ilSCORM2004ScoGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, getExportResources(), ilSCORM2004NodeGUI\setLocator(), setTabs(), and ilUtil\switchColor().
ilSCORM2004ScoGUI::selectExport | ( | ) |
Select the export type of the SCORM 2004 module.
Definition at line 454 of file class.ilSCORM2004ScoGUI.php.
References $_POST.
ilSCORM2004ScoGUI::setTabs | ( | ) |
output tabs
Reimplemented in ilSCORM2004AssetGUI.
Definition at line 284 of file class.ilSCORM2004ScoGUI.php.
References $ilCtrl, $lng, $tpl, and ilUtil\getImagePath().
Referenced by executeCommand(), import(), sahs_questions(), sco_resources(), showExportList(), and showProperties().
ilSCORM2004ScoGUI::showExportList | ( | ) |
Definition at line 471 of file class.ilSCORM2004ScoGUI.php.
References $data, $ilCtrl, $lng, $tpl, ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\prepareFormOutput(), ilSCORM2004NodeGUI\setLocator(), and setTabs().
ilSCORM2004ScoGUI::showProperties | ( | ) |
Show learning objectives.
Reimplemented in ilSCORM2004AssetGUI.
Definition at line 102 of file class.ilSCORM2004ScoGUI.php.
References $ilCtrl, $lng, $tpl, ilMD\getGeneral(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilSCORM2004NodeGUI\setLocator(), ilTextAreaInputGUI\setRows(), and setTabs().
Referenced by updateProperties().
ilSCORM2004ScoGUI::updateProperties | ( | ) |
update Properties
Reimplemented in ilSCORM2004AssetGUI.
Definition at line 175 of file class.ilSCORM2004ScoGUI.php.
References $_POST, $lng, $tpl, ilMD\getGeneral(), ilUtil\sendFailure(), ilUtil\sendInfo(), showProperties(), ilUtil\stripSlashes(), and ilMDBase\update().
ilSCORM2004ScoGUI::$ctrl = null |
Constructor public.
Definition at line 29 of file class.ilSCORM2004ScoGUI.php.