|
ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilStructureObjectGUI. More...
Inheritance 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. | |
| 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. | |
| setPageLayout () | |
| Set layout for multipl pages. | |
| initSetPageLayoutForm () | |
| Init set page layout form. | |
| savePageLayout () | |
| Save page layout. | |
| editMasterLanguage () | |
| Edit master language. | |
| switchToLanguage () | |
| Switch to language. | |
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. | |
| 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 21 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::_goto | ( | $a_target, | |
$a_target_ref_id = "" |
|||
| ) |
redirect script
| string | $a_target |
Definition at line 642 of file class.ilStructureObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
Here is the call graph for this function:| ilStructureObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 512 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 373 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::cancel | ( | ) |
cancel creation of new page or chapter
Definition at line 590 of file class.ilStructureObjectGUI.php.
References $_GET.
| ilStructureObjectGUI::copyChapter | ( | ) |
copy a single chapter (selection)
Definition at line 494 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 231 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 462 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 115 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 486 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 190 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 454 of file class.ilStructureObjectGUI.php.
References cutItems().
Here is the call graph for this function:| ilStructureObjectGUI::edit | ( | ) |
Definition at line 124 of file class.ilStructureObjectGUI.php.
References view().
Here is the call graph for this function:| ilStructureObjectGUI::editMasterLanguage | ( | ) |
Edit master language.
| @return |
Definition at line 1001 of file class.ilStructureObjectGUI.php.
References $ilCtrl.
| & ilStructureObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 60 of file class.ilStructureObjectGUI.php.
References $_POST, $cmd, $ret, ilMDEditorGUI\addObserver(), 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 52 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::ilStructureObjectGUI | ( | & | $a_content_obj, |
| & | $a_tree | ||
| ) |
Constructor public.
Definition at line 30 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ilias, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, and ilLMObjectGUI\ilLMObjectGUI().
Here is the call graph for this function:| ilStructureObjectGUI::initConditionHandlerInterface | ( | ) |
Definition at line 573 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 948 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, 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 688 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 caller graph for this function:| ilStructureObjectGUI::insertChapterClip | ( | $a_as_sub = false, |
|
$a_return = "view" |
|||
| ) |
Insert Chapter from clipboard.
Definition at line 749 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilLog, $ilUser, 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 831 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:| ilStructureObjectGUI::insertPageClip | ( | ) |
Insert pages from clipboard.
Definition at line 867 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilUser, 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 739 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 823 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::pasteChapter | ( | ) |
paste chapter
Definition at line 502 of file class.ilStructureObjectGUI.php.
References $ilUser, and insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::pastePage | ( | ) |
paste page
Definition at line 470 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 913 of file class.ilStructureObjectGUI.php.
References $_POST, and $ilCtrl.
| ilStructureObjectGUI::putInTree | ( | ) |
put chapter into tree
Reimplemented from ilLMObjectGUI.
Definition at line 420 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:| ilStructureObjectGUI::save | ( | ) |
save new chapter
Definition at line 394 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 271 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 980 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 930 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 43 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::setTabs | ( | ) |
output tabs
Definition at line 609 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 143 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, ilLMObjectGUI\$lng, ilUtil\getImagePath(), ilObjContentObjectGUI\getMultiLangHeader(), ilFormGUI\setFormAction(), 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 283 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, ilLMObjectGUI\$lng, $tree, ilStructureObject\_getPresentationTitle(), ilUtil\formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, setTabs(), ilLMObjectGUI\showActions(), and ilUtil\switchColor().
Here is the call graph for this function:| ilStructureObjectGUI::switchToLanguage | ( | ) |
| ilStructureObjectGUI::view | ( | ) |
Definition at line 132 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().