|
ILIAS
Release_3_10_x_branch Revision 61812
|
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. | |
| 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 () | |
| show possible action (form buttons) | |
| checkTree () | |
| check the content object tree | |
| activatePage ($a_active) | |
| activates page or chapter (currently only for pages implemented) | |
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 1002 of file class.ilStructureObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
Here is the call graph for this function:| ilStructureObjectGUI::activateJSChapterEditing | ( | ) |
Deactivate Javascript Chapter Editing.
Definition at line 326 of file class.ilStructureObjectGUI.php.
References $ilCtrl.
| ilStructureObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 860 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$lng, ilLMObject\_lookupActive(), ilLMObject\_lookupType(), ilLMObject\_writeActive(), and ilUtil\sendInfo().
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 529 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::cancel | ( | ) |
cancel creation of new page or chapter
Definition at line 933 of file class.ilStructureObjectGUI.php.
References $_GET, and ilUtil\sendInfo().
Here is the call graph for this function:| ilStructureObjectGUI::copyChapter | ( | ) |
copy a single chapter (selection)
Definition at line 821 of file class.ilStructureObjectGUI.php.
References ilObjContentObjectGUI\copyChapter(), and copyItems().
Here is the call graph for this function:| ilStructureObjectGUI::copyItems | ( | $a_return = "view" | ) |
Copy items to clipboard.
Definition at line 378 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCopy(), 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 681 of file class.ilStructureObjectGUI.php.
References copyItems(), IL_FIRST_NODE, ilUtil\sendInfo(), and ilEditClipboard\storeContentObject().
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:| ilStructureObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 805 of file class.ilStructureObjectGUI.php.
References cutItems(), and ilObjContentObjectGUI\moveChapter().
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 337 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCut(), 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 610 of file class.ilStructureObjectGUI.php.
References $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:| ilStructureObjectGUI::deactivateJSChapterEditing | ( | ) |
Deactivate Javascript Chapter Editing.
Definition at line 315 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:| & ilStructureObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 78 of file class.ilStructureObjectGUI.php.
References $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 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:| ilStructureObjectGUI::initConditionHandlerInterface | ( | ) |
Definition at line 916 of file class.ilStructureObjectGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilStructureObjectGUI::insertChapter | ( | $a_as_sub = false | ) |
Insert (multiple) chapters at node.
Definition at line 1051 of file class.ilStructureObjectGUI.php.
References $ilCtrl, 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 1112 of file class.ilStructureObjectGUI.php.
References $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 caller graph for this function:| ilStructureObjectGUI::insertPage | ( | ) |
Insert (multiple) pages at node.
Definition at line 1211 of file class.ilStructureObjectGUI.php.
References $ilCtrl, 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 1247 of file class.ilStructureObjectGUI.php.
References $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 caller graph for this function:| ilStructureObjectGUI::insertSubchapter | ( | ) |
Insert (multiple) subchapters at node.
Definition at line 1102 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 1203 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::pasteChapter | ( | ) |
paste chapter
Definition at line 836 of file class.ilStructureObjectGUI.php.
References ilEditClipboard\clear(), ilEditClipboard\getContentObjectId(), insertChapterClip(), ilObjContentObjectGUI\pasteChapter(), and subchap().
Here is the call graph for this function:| ilStructureObjectGUI::pastePage | ( | ) |
paste page
Definition at line 711 of file class.ilStructureObjectGUI.php.
References $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:| ilStructureObjectGUI::proceedDragDrop | ( | ) |
Perform drag and drop action.
Definition at line 1310 of file class.ilStructureObjectGUI.php.
References $ilCtrl.
| ilStructureObjectGUI::putInTree | ( | ) |
put chapter into tree
Reimplemented from ilLMObjectGUI.
Definition at line 576 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 550 of file class.ilStructureObjectGUI.php.
References $_GET, 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 418 of file class.ilStructureObjectGUI.php.
References $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
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 953 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 caller graph for this function:| ilStructureObjectGUI::showHierarchy | ( | ) |
Show subhiearchy of pages and subchapters.
Definition at line 271 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 caller graph for this function:| ilStructureObjectGUI::subchap | ( | ) |
Definition at line 430 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, ilLMObjectGUI\$lng, $tree, ilStructureObject\_getPresentationTitle(), formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, ilLMObjectGUI\setActions(), setTabs(), ilLMObjectGUI\showActions(), and ilUtil\switchColor().
Referenced by pasteChapter().
Here is the call 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, ilLMObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, ilLMObjectGUI\setActions(), setTabs(), ilLMObjectGUI\showActions(), showHierarchy(), and ilUtil\switchColor().
Referenced by edit().
Here is the call 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().