ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilSCORM2004NodeGUI. More...
Public Member Functions | |
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. | |
insertPage () | |
Insert Page. | |
insertTemplateGUI () | |
Insert Page with Layout. | |
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. | |
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. |
Data Fields | |
$node_object | |
$slm_object |
Class ilSCORM2004NodeGUI.
Base GUI class for scorm nodes (Chapter, SCO and Page)
Definition at line 35 of file class.ilSCORM2004NodeGUI.php.
ilSCORM2004NodeGUI::cancelDelete | ( | ) |
ilSCORM2004NodeGUI::collapseAll | ( | ) |
Collapse all.
Definition at line 245 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 299 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::copyItems | ( | $a_return = "showOrganization" | ) |
Copy items to clipboard.
Definition at line 389 of file class.ilSCORM2004NodeGUI.php.
References $_POST, $ilCtrl, $lng, ilSCORM2004Node\clipboardCopy(), 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 424 of file class.ilSCORM2004NodeGUI.php.
References $_POST, $ilCtrl, $lng, ilSCORM2004Node\clipboardCut(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSCORM2004Node\uniqueTypesCheck().
ilSCORM2004NodeGUI::deleteNodes | ( | ) |
Delete nodes in the hierarchy.
Definition at line 278 of file class.ilSCORM2004NodeGUI.php.
References $_GET, $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::ExpandAll | ( | ) |
Expand all.
Definition at line 256 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::getNodeObject | ( | $a_node_id | ) |
Get node object (chapter/sco/page)
Definition at line 79 of file class.ilSCORM2004NodeGUI.php.
References ilSCORM2004NodeFactory\getInstance().
Referenced by ilSCORM2004NodeGUI().
ilSCORM2004NodeGUI::getParentGUI | ( | ) |
Get Parent GUI class (ilObjSCORM2004LearningModuleGUI).
Definition at line 71 of file class.ilSCORM2004NodeGUI.php.
Referenced by collapseAll(), confirmedDelete(), deleteNodes(), ilSCORM2004PageNodeGUI\executeCommand(), ExpandAll(), insertChapter(), insertPage(), insertSco(), insertTemplateGUI(), saveAllTitles(), setLocator(), and showOrganization().
ilSCORM2004NodeGUI::ilSCORM2004NodeGUI | ( | $a_slm_obj, | |
$a_node_id = 0 |
|||
) |
constructor
object | $a_content_obj | node object |
Definition at line 45 of file class.ilSCORM2004NodeGUI.php.
References getNodeObject().
Referenced by ilSCORM2004ChapterGUI\ilSCORM2004ChapterGUI(), ilSCORM2004PageNodeGUI\ilSCORM2004PageNodeGUI(), and ilSCORM2004ScoGUI\ilSCORM2004ScoGUI().
ilSCORM2004NodeGUI::insertChapter | ( | ) |
Insert Chapter.
Definition at line 198 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertPage | ( | ) |
Insert Page.
Definition at line 222 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertPageClip | ( | ) |
Insert pages from clipboard.
Definition at line 461 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and ilHierarchyFormGUI\getPostNodeId().
ilSCORM2004NodeGUI::insertSco | ( | ) |
Insert Sco.
Definition at line 210 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, $res, and getParentGUI().
ilSCORM2004NodeGUI::insertScoClip | ( | ) |
Insert scos from clipboard.
Definition at line 474 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and ilHierarchyFormGUI\getPostNodeId().
ilSCORM2004NodeGUI::insertTemplateGUI | ( | ) |
Insert Page with Layout.
Definition at line 236 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::putInTree | ( | $a_parent_id, | |
$a_target | |||
) |
put this object into content object tree
Definition at line 91 of file class.ilSCORM2004NodeGUI.php.
References ilTree\setTableNames().
ilSCORM2004NodeGUI::saveAllTitles | ( | ) |
Save Titles.
Definition at line 267 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, and getParentGUI().
ilSCORM2004NodeGUI::setLocator | ( | ) |
Set Locator Items.
Definition at line 310 of file class.ilSCORM2004NodeGUI.php.
References $_GET, $ilCtrl, $tpl, ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getParentGUI(), ilObjStyleSheet\getPlaceHolderStylePath(), ilObjStyleSheet\getSyntaxStylePath(), and ilTree\setTableNames().
Referenced by ilSCORM2004ChapterGUI\executeCommand(), ilSCORM2004PageNodeGUI\executeCommand(), ilSCORM2004ScoGUI\executeCommand(), ilSCORM2004ScoGUI\import(), ilSCORM2004ScoGUI\sahs_questions(), ilSCORM2004ScoGUI\sco_preview(), 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 61 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 182 of file class.ilSCORM2004NodeGUI.php.
References $ilCtrl, $lng, $tpl, ilUtil\getImagePath(), getParentGUI(), and setLocator().
Referenced by ilSCORM2004ChapterGUI\executeCommand(), and ilSCORM2004ScoGUI\executeCommand().
ilSCORM2004NodeGUI::$node_object |
Definition at line 37 of file class.ilSCORM2004NodeGUI.php.
Referenced by ilSCORM2004PageNodeGUI\executeCommand().
ilSCORM2004NodeGUI::$slm_object |
Definition at line 38 of file class.ilSCORM2004NodeGUI.php.