| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilStructureObjectGUI. More...
 Inheritance diagram for ilStructureObjectGUI:
 Inheritance diagram for ilStructureObjectGUI: Collaboration diagram for ilStructureObjectGUI:
 Collaboration diagram for ilStructureObjectGUI:| Public Member Functions | |
| ilStructureObjectGUI (&$a_content_obj, &$a_tree) | |
| Constructor  public. | |
| setStructureObject (&$a_st_object) | |
| set structure object | |
| getType () | |
| this function is called by condition handler gui interface | |
| & | executeCommand () | 
| execute command | |
| create () | |
| create new page or chapter in chapter | |
| edit () | |
| view () | |
| showHierarchy () | |
| Show subhiearchy of pages and subchapters. | |
| deactivateJSChapterEditing () | |
| Deactivate Javascript Chapter Editing. | |
| activateJSChapterEditing () | |
| Deactivate Javascript Chapter Editing. | |
| cutItems ($a_return="view") | |
| Copy items to clipboard, then cut them from the current tree. | |
| copyItems ($a_return="view") | |
| Copy items to clipboard. | |
| saveAllTitles () | |
| Save all titles of chapters/pages. | |
| subchap () | |
| add_cell ($val, $link="") | |
| output a cell in object list | |
| save () | |
| save new chapter | |
| putInTree () | |
| put chapter into tree | |
| cutPage () | |
| cut page | |
| copyPage () | |
| copy page | |
| pastePage () | |
| paste page | |
| cutChapter () | |
| Cut chapter(s) | |
| copyChapter () | |
| copy a single chapter (selection) | |
| pasteChapter () | |
| paste chapter | |
| activatePages () | |
| activates or deactivates pages | |
| initConditionHandlerInterface () | |
| cancel () | |
| cancel creation of new page or chapter | |
| setTabs () | |
| output tabs | |
| _goto ($a_target, $a_target_ref_id="") | |
| redirect script | |
| insertChapter ($a_as_sub=false) | |
| Insert (multiple) chapters at node. | |
| insertSubchapter () | |
| Insert (multiple) subchapters at node. | |
| insertChapterClip ($a_as_sub=false, $a_return="view") | |
| Insert Chapter from clipboard. | |
| insertSubchapterClip () | |
| Insert Chapter from clipboard. | |
| insertPage () | |
| Insert (multiple) pages at node. | |
| insertPageClip () | |
| Insert pages from clipboard. | |
| proceedDragDrop () | |
| Perform drag and drop action. | |
|  Public Member Functions inherited from ilLMObjectGUI | |
| ilLMObjectGUI (&$a_content_obj) | |
| constructor | |
| setActions ($a_actions="") | |
| build action array | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| delete () | |
| Confirm deletion screen (delete page or structure objects) | |
| cancelDelete () | |
| cancel deletion of page/structure objects | |
| confirmedDelete () | |
| page and structure object deletion | |
| showActions ($a_actions) | |
| show possible action (form buttons) | |
| checkTree () | |
| check the content object tree | |
| Data Fields | |
| $obj | |
| $tree | |
|  Data Fields inherited from ilLMObjectGUI | |
| $ilias | |
| $tpl | |
| $lng | |
| $obj | |
| $ctrl | |
| $content_object | |
| $actions | |
Class ilStructureObjectGUI.
User Interface for Structure Objects Editing
ilStructureObjectGUI: ilConditionHandlerInterface, ilMDEditorGUI
Definition at line 39 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::_goto | ( | $a_target, | |
| $a_target_ref_id = "" | |||
| ) | 
redirect script
| string | $a_target | 
Definition at line 1003 of file class.ilStructureObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::activateJSChapterEditing | ( | ) | 
Deactivate Javascript Chapter Editing.
Definition at line 328 of file class.ilStructureObjectGUI.php.
References $ilCtrl.
| ilStructureObjectGUI::activatePages | ( | ) | 
activates or deactivates pages
Definition at line 857 of file class.ilStructureObjectGUI.php.
References $_POST, ilLMObjectGUI\$lng, $path, ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilPageObject\_writeActive(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::add_cell | ( | $val, | |
| $link = "" | |||
| ) | 
output a cell in object list
Reimplemented from ilLMObjectGUI.
Definition at line 526 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::cancel | ( | ) | 
cancel creation of new page or chapter
Definition at line 935 of file class.ilStructureObjectGUI.php.
References $_GET.
| ilStructureObjectGUI::copyChapter | ( | ) | 
copy a single chapter (selection)
Definition at line 818 of file class.ilStructureObjectGUI.php.
References ilObjContentObjectGUI\copyChapter(), and copyItems().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::copyItems | ( | $a_return = "view" | ) | 
Copy items to clipboard.
Definition at line 380 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCopy(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilLMObject\uniqueTypesCheck().
Referenced by copyChapter(), and copyPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::copyPage | ( | ) | 
copy page
Definition at line 678 of file class.ilStructureObjectGUI.php.
References $_POST, copyItems(), IL_FIRST_NODE, ilUtil\sendInfo(), and ilEditClipboard\storeContentObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::create | ( | ) | 
create new page or chapter in chapter
Reimplemented from ilLMObjectGUI.
Definition at line 133 of file class.ilStructureObjectGUI.php.
References $_GET, and setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::cutChapter | ( | ) | 
Cut chapter(s)
Definition at line 802 of file class.ilStructureObjectGUI.php.
References cutItems(), and ilObjContentObjectGUI\moveChapter().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::cutItems | ( | $a_return = "view" | ) | 
Copy items to clipboard, then cut them from the current tree.
Definition at line 339 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCut(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilLMObject\uniqueTypesCheck().
Referenced by cutChapter(), and cutPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::cutPage | ( | ) | 
cut page
Definition at line 607 of file class.ilStructureObjectGUI.php.
References $_POST, $obj, $tree, ilHistory\_createEntry(), ilLMObject\_lookupTitle(), ilLMObjectGUI\checkTree(), cutItems(), ilLMObjectFactory\getInstance(), IL_FIRST_NODE, ilUtil\sendInfo(), and ilEditClipboard\storeContentObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::deactivateJSChapterEditing | ( | ) | 
Deactivate Javascript Chapter Editing.
Definition at line 317 of file class.ilStructureObjectGUI.php.
References $ilCtrl.
| ilStructureObjectGUI::edit | ( | ) | 
Definition at line 142 of file class.ilStructureObjectGUI.php.
References view().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilStructureObjectGUI::executeCommand | ( | ) | 
execute command
Definition at line 78 of file class.ilStructureObjectGUI.php.
References $_POST, $cmd, $ret, ilMDEditorGUI\addObserver(), initConditionHandlerInterface(), and setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::getType | ( | ) | 
this function is called by condition handler gui interface
Definition at line 70 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::ilStructureObjectGUI | ( | & | $a_content_obj, | 
| & | $a_tree | ||
| ) | 
Constructor public.
Definition at line 48 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ilias, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, and ilLMObjectGUI\ilLMObjectGUI().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::initConditionHandlerInterface | ( | ) | 
Definition at line 918 of file class.ilStructureObjectGUI.php.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::insertChapter | ( | $a_as_sub = false | ) | 
Insert (multiple) chapters at node.
Definition at line 1052 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, and putInTree().
Referenced by insertSubchapter().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::insertChapterClip | ( | $a_as_sub = false, | |
| $a_return = "view" | |||
| ) | 
Insert Chapter from clipboard.
Definition at line 1113 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, $ilLog, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, ilLMObject\pasteTree(), and ilLMObject\updateInternalLinks().
Referenced by insertSubchapterClip(), and pasteChapter().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::insertPage | ( | ) | 
Insert (multiple) pages at node.
Definition at line 1212 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, and putInTree().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::insertPageClip | ( | ) | 
Insert pages from clipboard.
Definition at line 1248 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, ilLMObject\pasteTree(), and ilLMObject\updateInternalLinks().
Referenced by pastePage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::insertSubchapter | ( | ) | 
Insert (multiple) subchapters at node.
Definition at line 1103 of file class.ilStructureObjectGUI.php.
References $ilCtrl, and insertChapter().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::insertSubchapterClip | ( | ) | 
Insert Chapter from clipboard.
Definition at line 1204 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::pasteChapter | ( | ) | 
paste chapter
Definition at line 833 of file class.ilStructureObjectGUI.php.
References $_POST, ilEditClipboard\clear(), ilEditClipboard\getContentObjectId(), insertChapterClip(), ilObjContentObjectGUI\pasteChapter(), and subchap().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::pastePage | ( | ) | 
paste page
Definition at line 708 of file class.ilStructureObjectGUI.php.
References $_POST, $tree, ilHistory\_createEntry(), ilLMObject\_lookupContObjID(), ilLMObject\_lookupTitle(), ilLMObjectGUI\checkTree(), ilEditClipboard\clear(), ilEditClipboard\getAction(), ilEditClipboard\getContentObjectId(), IL_FIRST_NODE, insertPageClip(), and ilLMObject\updateInternalLinks().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::proceedDragDrop | ( | ) | 
Perform drag and drop action.
Definition at line 1311 of file class.ilStructureObjectGUI.php.
References $_POST, and $ilCtrl.
| ilStructureObjectGUI::putInTree | ( | ) | 
put chapter into tree
Reimplemented from ilLMObjectGUI.
Definition at line 573 of file class.ilStructureObjectGUI.php.
References $_GET, $tree, IL_FIRST_NODE, and IL_LAST_NODE.
Referenced by insertChapter(), insertPage(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::save | ( | ) | 
save new chapter
Definition at line 547 of file class.ilStructureObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), putInTree(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::saveAllTitles | ( | ) | 
Save all titles of chapters/pages.
Definition at line 420 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStructureObjectGUI::setStructureObject | ( | & | $a_st_object | ) | 
set structure object
| object | $a_st_object | structure object | 
Definition at line 61 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::setTabs | ( | ) | 
output tabs
Definition at line 954 of file class.ilStructureObjectGUI.php.
References ilUtil\getImagePath().
Referenced by create(), executeCommand(), showHierarchy(), subchap(), and view().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::showHierarchy | ( | ) | 
Show subhiearchy of pages and subchapters.
Definition at line 273 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, ilLMObjectGUI\$lng, ilUtil\getImagePath(), ilFormGUI\setFormAction(), and setTabs().
Referenced by view().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::subchap | ( | ) | 
Definition at line 432 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, ilLMObjectGUI\$lng, $tree, ilStructureObject\_getPresentationTitle(), formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, setTabs(), ilLMObjectGUI\showActions(), and ilUtil\switchColor().
Referenced by pasteChapter().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::view | ( | ) | 
Definition at line 150 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, ilLMObjectGUI\$lng, $tree, ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, setTabs(), ilLMObjectGUI\showActions(), showHierarchy(), and ilUtil\switchColor().
Referenced by edit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStructureObjectGUI::$obj | 
Definition at line 41 of file class.ilStructureObjectGUI.php.
Referenced by cutPage().
| ilStructureObjectGUI::$tree | 
Definition at line 42 of file class.ilStructureObjectGUI.php.
Referenced by cutPage(), pastePage(), putInTree(), subchap(), and view().