|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilStructureObjectGUI. More...
Inheritance diagram for ilStructureObjectGUI:
Collaboration diagram for ilStructureObjectGUI:Public Member Functions | |
| __construct (&$a_content_obj, &$a_tree) | |
| Constructor @access public. More... | |
| setStructureObject (&$a_st_object) | |
| set structure object More... | |
| getType () | |
| this function is called by condition handler gui interface More... | |
| executeCommand () | |
| execute command More... | |
| create () | |
| create new page or chapter in chapter More... | |
| edit () | |
| view () | |
| showHierarchy () | |
| Show subhiearchy of pages and subchapters. More... | |
| cutItems ($a_return="view") | |
| Copy items to clipboard, then cut them from the current tree. More... | |
| copyItems ($a_return="view") | |
| Copy items to clipboard. More... | |
| saveAllTitles () | |
| Save all titles of chapters/pages. More... | |
| subchap () | |
| add_cell ($val, $link="") | |
| output a cell in object list More... | |
| save () | |
| save new chapter More... | |
| putInTree () | |
| put chapter into tree More... | |
| cutPage () | |
| cut page More... | |
| copyPage () | |
| copy page More... | |
| pastePage () | |
| paste page More... | |
| cutChapter () | |
| Cut chapter(s) More... | |
| copyChapter () | |
| copy a single chapter (selection) More... | |
| pasteChapter () | |
| paste chapter More... | |
| activatePages () | |
| activates or deactivates pages More... | |
| initConditionHandlerInterface () | |
| cancel () | |
| cancel creation of new page or chapter More... | |
| setTabs () | |
| output tabs More... | |
| insertChapter ($a_as_sub=false) | |
| Insert (multiple) chapters at node. More... | |
| insertSubchapter () | |
| Insert (multiple) subchapters at node. More... | |
| insertChapterClip ($a_as_sub=false, $a_return="view") | |
| Insert Chapter from clipboard. More... | |
| insertSubchapterClip () | |
| Insert Chapter from clipboard. More... | |
| insertPage () | |
| Insert (multiple) pages at node. More... | |
| insertPageClip () | |
| Insert pages from clipboard. More... | |
| proceedDragDrop () | |
| Perform drag and drop action. More... | |
| setPageLayout () | |
| Set layout for multipl pages. More... | |
| initSetPageLayoutForm () | |
| Init set page layout form. More... | |
| savePageLayout () | |
| Save page layout. More... | |
| editMasterLanguage () | |
| Edit master language. More... | |
| switchToLanguage () | |
| Switch to language. More... | |
Public Member Functions inherited from ilLMObjectGUI | |
| __construct (&$a_content_obj) | |
| constructor More... | |
| setActions ($a_actions="") | |
| build action array More... | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| create () | |
| structure / page object creation form More... | |
| putInTree () | |
| put this object into content object tree More... | |
| delete () | |
| Confirm deletion screen (delete page or structure objects) More... | |
| cancelDelete () | |
| cancel deletion of page/structure objects More... | |
| confirmedDelete () | |
| page and structure object deletion More... | |
| add_cell ($val, $link="") | |
| output a cell in object list More... | |
| showActions ($a_actions) | |
| show possible action (form buttons) More... | |
| checkTree () | |
| check the content object tree More... | |
Static Public Member Functions | |
| static | _goto ($a_target, $a_target_ref_id="") |
| redirect script More... | |
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
@ilCtrl_Calls ilStructureObjectGUI: ilConditionHandlerGUI, ilObjectMetaDataGUI
Definition at line 21 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::__construct | ( | & | $a_content_obj, |
| & | $a_tree | ||
| ) |
Constructor @access public.
Definition at line 30 of file class.ilStructureObjectGUI.php.
|
static |
redirect script
| string | $a_target |
Definition at line 641 of file class.ilStructureObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, ilUtil\sendFailure(), and sprintf.
Here is the call graph for this function:| ilStructureObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 505 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:| ilStructureObjectGUI::add_cell | ( | $val, | |
$link = "" |
|||
| ) |
output a cell in object list
Reimplemented from ilLMObjectGUI.
Definition at line 366 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::cancel | ( | ) |
cancel creation of new page or chapter
Definition at line 583 of file class.ilStructureObjectGUI.php.
References $_GET.
| ilStructureObjectGUI::copyChapter | ( | ) |
copy a single chapter (selection)
Definition at line 487 of file class.ilStructureObjectGUI.php.
References copyItems().
Here is the call graph for this function:| ilStructureObjectGUI::copyItems | ( | $a_return = "view" | ) |
Copy items to clipboard.
Definition at line 224 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 caller graph for this function:| ilStructureObjectGUI::copyPage | ( | ) |
copy page
Definition at line 455 of file class.ilStructureObjectGUI.php.
References copyItems().
Here is the call graph for this function:| ilStructureObjectGUI::create | ( | ) |
create new page or chapter in chapter
Reimplemented from ilLMObjectGUI.
Definition at line 112 of file class.ilStructureObjectGUI.php.
References $_GET, and setTabs().
Here is the call graph for this function:| ilStructureObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 479 of file class.ilStructureObjectGUI.php.
References cutItems().
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 183 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 caller graph for this function:| ilStructureObjectGUI::cutPage | ( | ) |
cut page
Definition at line 447 of file class.ilStructureObjectGUI.php.
References cutItems().
Here is the call graph for this function:| ilStructureObjectGUI::edit | ( | ) |
Definition at line 121 of file class.ilStructureObjectGUI.php.
References view().
Here is the call graph for this function:| ilStructureObjectGUI::editMasterLanguage | ( | ) |
| ilStructureObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 58 of file class.ilStructureObjectGUI.php.
References $_POST, $cmd, initConditionHandlerInterface(), and setTabs().
Here is the call graph for this function:| ilStructureObjectGUI::getType | ( | ) |
this function is called by condition handler gui interface
Definition at line 50 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::initConditionHandlerInterface | ( | ) |
Definition at line 566 of file class.ilStructureObjectGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilStructureObjectGUI::initSetPageLayoutForm | ( | ) |
Init set page layout form.
Definition at line 947 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, $layout, ilLMObjectGUI\$lng, and ilObjContentObjectGUI\getLayoutOption().
Referenced by setPageLayout().
Here is the call 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 687 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, $target, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, and ilLMObject\putInTree().
Referenced by insertSubchapter().
Here is the call 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 748 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilLog, $ilUser, $target, 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 caller graph for this function:| ilStructureObjectGUI::insertPage | ( | ) |
Insert (multiple) pages at node.
Definition at line 830 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, $target, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, and ilLMObject\putInTree().
Here is the call graph for this function:| ilStructureObjectGUI::insertPageClip | ( | ) |
Insert pages from clipboard.
Definition at line 866 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilUser, $target, 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 caller graph for this function:| ilStructureObjectGUI::insertSubchapter | ( | ) |
Insert (multiple) subchapters at node.
Definition at line 738 of file class.ilStructureObjectGUI.php.
References $ilCtrl, and insertChapter().
Here is the call graph for this function:| ilStructureObjectGUI::insertSubchapterClip | ( | ) |
Insert Chapter from clipboard.
Definition at line 822 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::pasteChapter | ( | ) |
paste chapter
Definition at line 495 of file class.ilStructureObjectGUI.php.
References $ilUser, and insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::pastePage | ( | ) |
paste page
Definition at line 463 of file class.ilStructureObjectGUI.php.
References $ilUser, and insertPageClip().
Here is the call graph for this function:| ilStructureObjectGUI::proceedDragDrop | ( | ) |
Perform drag and drop action.
Definition at line 912 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::putInTree | ( | ) |
put chapter into tree
Reimplemented from ilLMObjectGUI.
Definition at line 413 of file class.ilStructureObjectGUI.php.
References $_GET, $tree, IL_FIRST_NODE, and IL_LAST_NODE.
Referenced by save().
Here is the caller graph for this function:| ilStructureObjectGUI::save | ( | ) |
save new chapter
Definition at line 387 of file class.ilStructureObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), putInTree(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilStructureObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 264 of file class.ilStructureObjectGUI.php.
References $_GET, $_POST, $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
Here is the call graph for this function:| ilStructureObjectGUI::savePageLayout | ( | ) |
Save page layout.
Definition at line 979 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilLMObjectGUI\$lng, ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilLMObject\writeLayout().
Here is the call graph for this function:| ilStructureObjectGUI::setPageLayout | ( | ) |
Set layout for multipl pages.
Definition at line 929 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, initSetPageLayoutForm(), and ilUtil\sendFailure().
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 41 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::setTabs | ( | ) |
output tabs
Definition at line 602 of file class.ilStructureObjectGUI.php.
References $ilUser, ilLMObjectGUI\$lng, and ilUtil\getImagePath().
Referenced by create(), executeCommand(), showHierarchy(), and subchap().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::showHierarchy | ( | ) |
Show subhiearchy of pages and subchapters.
Definition at line 140 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, ilLMObjectGUI\$lng, ilUtil\getImagePath(), ilObjContentObjectGUI\getMultiLangHeader(), and setTabs().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::subchap | ( | ) |
Definition at line 276 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, ilLMObjectGUI\$lng, $tree, ilStructureObject\_getPresentationTitle(), ilUtil\formSelect(), ilUtil\getImagePath(), IL_CHAPTER_TITLE, IL_FIRST_NODE, setTabs(), ilLMObjectGUI\showActions(), and ilUtil\switchColor().
Here is the call graph for this function:| ilStructureObjectGUI::switchToLanguage | ( | ) |
| ilStructureObjectGUI::view | ( | ) |
Definition at line 129 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilUser, ilLMObjectGUI\$lng, $tree, and showHierarchy().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::$obj |
Definition at line 23 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::$tree |
Definition at line 24 of file class.ilStructureObjectGUI.php.
Referenced by putInTree(), subchap(), and view().