ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilSCORM2004NodeGUI. More...
Public Member Functions | |
__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... | |
Data Fields | |
$node_object | |
$slm_object | |
Protected Attributes | |
$lng | |
$ctrl | |
$tpl | |
$tabs | |
$locator | |
$user | |
Class ilSCORM2004NodeGUI.
Base GUI class for scorm nodes (Chapter, SCO and Page)
Definition at line 14 of file class.ilSCORM2004NodeGUI.php.
ilSCORM2004NodeGUI::__construct | ( | $a_slm_obj, | |
$a_node_id = 0 |
|||
) |
constructor
object | $a_content_obj | node object |
Definition at line 54 of file class.ilSCORM2004NodeGUI.php.
References $DIC, getNodeObject(), and user().
ilSCORM2004NodeGUI::cancelDelete | ( | ) |
cancel delete
Definition at line 334 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, and $ilCtrl.
ilSCORM2004NodeGUI::collapseAll | ( | ) |
Collapse all.
Definition at line 289 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 343 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::copyItems | ( | $a_return = "showOrganization" | ) |
Copy items to clipboard.
Definition at line 504 of file class.ilSCORM2004NodeGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, array, ilSCORM2004Node\clipboardCopy(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSCORM2004Node\uniqueTypesCheck().
ilSCORM2004NodeGUI::cutItems | ( | $a_return = "showOrganization" | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 536 of file class.ilSCORM2004NodeGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, array, ilSCORM2004Node\clipboardCut(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSCORM2004Node\uniqueTypesCheck().
ilSCORM2004NodeGUI::deleteNodes | ( | ) |
Delete nodes in the hierarchy.
Definition at line 323 of file class.ilSCORM2004NodeGUI.php.
References $_GET, $ctrl, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::ExpandAll | ( | ) |
Expand all.
Definition at line 300 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::getNodeObject | ( | $a_node_id | ) |
Get node object (chapter/sco/page)
Definition at line 95 of file class.ilSCORM2004NodeGUI.php.
References ilSCORM2004NodeFactory\getInstance().
Referenced by __construct().
ilSCORM2004NodeGUI::getParentGUI | ( | ) |
Get Parent GUI class (ilObjSCORM2004LearningModuleGUI).
Definition at line 87 of file class.ilSCORM2004NodeGUI.php.
Referenced by collapseAll(), confirmedDelete(), deleteNodes(), ilSCORM2004PageNodeGUI\executeCommand(), ExpandAll(), insertAsset(), insertChapter(), insertLMChapterClip(), insertPage(), insertSco(), insertSpecialPage(), insertTemplateGUI(), saveAllTitles(), setLocator(), and showOrganization().
ilSCORM2004NodeGUI::insertAsset | ( | ) |
Insert Asset.
Definition at line 247 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertAssetClip | ( | ) |
Insert assets from clipboard.
Definition at line 604 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $ilUser, $user, ilHierarchyFormGUI\getPostNodeId(), and ilSCORM2004Node\insertAssetClip().
ilSCORM2004NodeGUI::insertChapter | ( | ) |
Insert Chapter.
Definition at line 223 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertLMChapterClip | ( | ) |
Insert scos from clipboard.
Definition at line 621 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $ilUser, $user, getParentGUI(), and setLocator().
ilSCORM2004NodeGUI::insertPage | ( | ) |
Insert Page.
Definition at line 259 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertPageClip | ( | ) |
Insert pages from clipboard.
Definition at line 570 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $ilUser, $user, ilHierarchyFormGUI\getPostNodeId(), and ilSCORM2004Node\insertPageClip().
ilSCORM2004NodeGUI::insertSco | ( | ) |
Insert Sco.
Definition at line 235 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertScoClip | ( | ) |
Insert scos from clipboard.
Definition at line 587 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $ilUser, $user, ilHierarchyFormGUI\getPostNodeId(), and ilSCORM2004Node\insertScoClip().
ilSCORM2004NodeGUI::insertSpecialPage | ( | ) |
Insert special page.
Definition at line 280 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::insertTemplateGUI | ( | ) |
Insert Page with Layout.
Definition at line 271 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::putInTree | ( | $a_parent_id, | |
$a_target | |||
) |
put this object into content object tree
Definition at line 110 of file class.ilSCORM2004NodeGUI.php.
References $target, and ilTree\setTableNames().
ilSCORM2004NodeGUI::saveAllTitles | ( | ) |
Save Titles.
Definition at line 311 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, getParentGUI(), and ilUtil\sendSuccess().
ilSCORM2004NodeGUI::setContentStyle | ( | ) |
Set content style sheet.
Definition at line 476 of file class.ilSCORM2004NodeGUI.php.
References $tpl, ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getPlaceHolderStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Referenced by ilSCORM2004PageNodeGUI\executeCommand().
ilSCORM2004NodeGUI::setLocator | ( | ) |
Set Locator Items.
Definition at line 354 of file class.ilSCORM2004NodeGUI.php.
References $_GET, $ctrl, $i, $ilCtrl, $locator, $path, $tpl, ilUtil\getImagePath(), getParentGUI(), and ilTree\setTableNames().
Referenced by ilSCORM2004PageNodeGUI\executeCommand(), ilSCORM2004ScoGUI\executeCommand(), ilSCORM2004ChapterGUI\executeCommand(), ilSCORM2004ScoGUI\import(), insertLMChapterClip(), ilSCORM2004ScoGUI\sahs_questions(), ilSCORM2004ScoGUI\sco_resources(), ilSCORM2004ScoGUI\showExportList(), showOrganization(), ilSCORM2004ScoGUI\showProperties(), and ilSCORM2004ChapterGUI\showProperties().
ilSCORM2004NodeGUI::setParentGUI | ( | $a_parentgui | ) |
Set Parent GUI class (ilObjSCORM2004LearningModuleGUI).
object | $a_parentgui | Parent GUI class |
Definition at line 77 of file class.ilSCORM2004NodeGUI.php.
ilSCORM2004NodeGUI::showOrganization | ( | ) |
Confirm deletion screen (delete page or structure objects)
cancel deletion of page/structure objects
page and structure object deletion
check the content object tree
Show subhiearchy of pages and subchapters
Definition at line 200 of file class.ilSCORM2004NodeGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, $tpl, ilUtil\getImagePath(), getParentGUI(), and setLocator().
Referenced by ilSCORM2004ScoGUI\executeCommand(), and ilSCORM2004ChapterGUI\executeCommand().
|
protected |
Definition at line 24 of file class.ilSCORM2004NodeGUI.php.
Referenced by cancelDelete(), collapseAll(), confirmedDelete(), copyItems(), cutItems(), deleteNodes(), ilSCORM2004PageNodeGUI\edit(), ilSCORM2004PageNodeGUI\executeCommand(), ExpandAll(), insertAsset(), insertAssetClip(), insertChapter(), insertLMChapterClip(), insertPage(), insertPageClip(), insertSco(), insertScoClip(), insertSpecialPage(), insertTemplateGUI(), saveAllTitles(), setLocator(), ilSCORM2004PageNodeGUI\setTabs(), and showOrganization().
|
protected |
Definition at line 19 of file class.ilSCORM2004NodeGUI.php.
Referenced by ilSCORM2004ScoGUI\confirmDeleteExportFile(), copyItems(), cutItems(), ilSCORM2004ScoGUI\deleteExportFile(), ilSCORM2004ScoGUI\getGloOverviewOv(), ilSCORM2004ScoGUI\import(), ilSCORM2004ScoGUI\importSave(), ilSCORM2004ScoGUI\sahs_questions(), ilSCORM2004ScoGUI\sco_resources(), ilSCORM2004PageNodeGUI\setTabs(), ilSCORM2004ScoGUI\setTabs(), ilSCORM2004ScoGUI\showExportList(), showOrganization(), ilSCORM2004ScoGUI\showProperties(), and ilSCORM2004ScoGUI\updateProperties().
|
protected |
Definition at line 39 of file class.ilSCORM2004NodeGUI.php.
Referenced by setLocator().
ilSCORM2004NodeGUI::$node_object |
Definition at line 46 of file class.ilSCORM2004NodeGUI.php.
Referenced by ilSCORM2004PageNodeGUI\executeCommand().
ilSCORM2004NodeGUI::$slm_object |
Definition at line 47 of file class.ilSCORM2004NodeGUI.php.
|
protected |
Definition at line 34 of file class.ilSCORM2004NodeGUI.php.
Referenced by ilSCORM2004ScoGUI\executeCommand(), ilSCORM2004PageNodeGUI\setTabs(), ilSCORM2004ScoGUI\setTabs(), showOrganization(), and ilSCORM2004ScoGUI\showProperties().
|
protected |
Definition at line 29 of file class.ilSCORM2004NodeGUI.php.
Referenced by ilSCORM2004ScoGUI\confirmDeleteExportFile(), ilSCORM2004PageNodeGUI\executeCommand(), ilSCORM2004ScoGUI\executeCommand(), ilSCORM2004ScoGUI\getGloOverviewOv(), ilSCORM2004ScoGUI\import(), ilSCORM2004ScoGUI\sahs_questions(), ilSCORM2004ScoGUI\sco_preview(), ilSCORM2004ScoGUI\sco_resources(), setContentStyle(), setLocator(), ilSCORM2004PageNodeGUI\setTabs(), ilSCORM2004ScoGUI\setTabs(), ilSCORM2004ScoGUI\showExportList(), showOrganization(), ilSCORM2004ScoGUI\showProperties(), and ilSCORM2004ScoGUI\updateProperties().
|
protected |
Definition at line 44 of file class.ilSCORM2004NodeGUI.php.
Referenced by insertAssetClip(), insertLMChapterClip(), insertPageClip(), and insertScoClip().