|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
User Interface for Structure Objects Editing. More...
Inheritance diagram for ilStructureObjectGUI:
Collaboration diagram for ilStructureObjectGUI:Public Member Functions | |
| __construct (ilObjLearningModule $a_content_obj, ilLMTree $a_tree) | |
| setStructureObject (ilStructureObject $a_st_object) | |
| getType () | |
| executeCommand () | |
| create () | |
| edit () | |
| view () | |
| showHierarchy () | |
| cutItems (string $a_return="view") | |
| Copy items to clipboard, then cut them from the current tree. More... | |
| copyItems (string $a_return="view") | |
| Copy items to clipboard. More... | |
| saveAllTitles () | |
| Save all titles of chapters/pages. More... | |
| subchap () | |
| display subchapters of structure object More... | |
| save () | |
| putInTree (?int $target=null) | |
| put chapter into tree More... | |
| cutPage () | |
| copyPage () | |
| pastePage () | |
| cutChapter () | |
| copyChapter () | |
| copy a single chapter (selection) More... | |
| pasteChapter () | |
| activatePages () | |
| initConditionHandlerInterface () | |
| cancel () | |
| cancel creation of new page or chapter More... | |
| setTabs () | |
| insertChapter (bool $a_as_sub=false) | |
| Insert (multiple) chapters at node. More... | |
| insertSubchapter () | |
| Insert (multiple) subchapters at node. More... | |
| insertChapterClip (bool $a_as_sub=false, string $a_return="view") | |
| Insert Chapter from clipboard. More... | |
| insertSubchapterClip () | |
| insertPage () | |
| insertPageClip () | |
| proceedDragDrop () | |
| setPageLayout () | |
| Set layout for multipl pages. More... | |
| initSetPageLayoutForm () | |
| Init set page layout form. More... | |
| savePageLayout () | |
| Save page layout. More... | |
| editMasterLanguage () | |
| switchToLanguage () | |
| insertTemplate () | |
| Displays GUI to select template for page. More... | |
| initInsertTemplateForm () | |
| insertPageFromTemplate () | |
| Insert (multiple) pages templates at node. More... | |
Public Member Functions inherited from ilLMObjectGUI | |
| __construct (ilObjLearningModule $a_content_obj) | |
| constructor More... | |
| setActions (?array $a_actions=null) | |
| getTargetFrame (string $a_cmd, string $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| create () | |
| structure / page object creation form More... | |
| getCreateForm () | |
| putInTree (?int $target=0) | |
| put this object into content object tree More... | |
| delete () | |
| Confirm deletion screen (delete page or structure objects) More... | |
| setTabs () | |
| cancelDelete () | |
| cancel deletion of page/structure objects More... | |
| confirmedDelete () | |
| page and structure object deletion More... | |
| showActions (array $a_actions) | |
| show possible action (form buttons) More... | |
| checkTree () | |
| check the content object tree More... | |
Static Public Member Functions | |
| static | _goto (string $a_target, int $a_target_ref_id=0) |
Data Fields | |
| ilLMTree | $tree |
Data Fields inherited from ilLMObjectGUI | |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilLMObject | $obj |
| ilCtrl | $ctrl |
| ilObjLearningModule | $content_object |
| array | $actions |
Protected Attributes | |
| ilPropertyFormGUI | $form |
| ilConditionHandlerGUI | $condHI |
| ilObjUser | $user |
| ilTabsGUI | $tabs |
| ilLogger | $log |
Protected Attributes inherited from ilLMObjectGUI | |
| int | $requested_ref_id |
| ILIAS DI UIServices | $ui |
| int | $requested_obj_id |
| string | $requested_totransl = "" |
| string | $requested_transl = "" |
| string | $requested_target |
| string | $requested_new_type |
| array | $target_frame |
| EditingGUIRequest | $request |
User Interface for Structure Objects Editing.
Definition at line 27 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::__construct | ( | ilObjLearningModule | $a_content_obj, |
| ilLMTree | $a_tree | ||
| ) |
Definition at line 36 of file class.ilStructureObjectGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
| ilPermissionException |
Definition at line 559 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $DIC, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilCtrl\setParameterByClass(), and ilLanguage\txt().
Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::activatePages | ( | ) |
Definition at line 427 of file class.ilStructureObjectGUI.php.
References $id, ilLMObjectGUI\$lng, $path, ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilPageObject\_writeActive(), ILIAS\Repository\ctrl(), and ilLanguage\txt().
Here is the call graph for this function:| ilStructureObjectGUI::cancel | ( | ) |
cancel creation of new page or chapter
Definition at line 498 of file class.ilStructureObjectGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilStructureObjectGUI::copyChapter | ( | ) |
copy a single chapter (selection)
Definition at line 417 of file class.ilStructureObjectGUI.php.
References copyItems().
Here is the call graph for this function:| ilStructureObjectGUI::copyItems | ( | string | $a_return = "view" | ) |
Copy items to clipboard.
Definition at line 200 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCopy(), ilEditClipboard\setAction(), ilLanguage\txt(), 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 | ( | ) |
Definition at line 393 of file class.ilStructureObjectGUI.php.
References copyItems().
Here is the call graph for this function:| ilStructureObjectGUI::create | ( | ) |
Definition at line 104 of file class.ilStructureObjectGUI.php.
References setTabs().
Here is the call graph for this function:| ilStructureObjectGUI::cutChapter | ( | ) |
Definition at line 409 of file class.ilStructureObjectGUI.php.
References cutItems().
Here is the call graph for this function:| ilStructureObjectGUI::cutItems | ( | string | $a_return = "view" | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 163 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCut(), ilEditClipboard\setAction(), ilLanguage\txt(), 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 | ( | ) |
Definition at line 388 of file class.ilStructureObjectGUI.php.
References cutItems().
Here is the call graph for this function:| ilStructureObjectGUI::edit | ( | ) |
Definition at line 112 of file class.ilStructureObjectGUI.php.
References view().
Here is the call graph for this function:| ilStructureObjectGUI::editMasterLanguage | ( | ) |
Definition at line 893 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, and ilCtrl\setParameter().
Here is the call graph for this function:| ilStructureObjectGUI::executeCommand | ( | ) |
Definition at line 63 of file class.ilStructureObjectGUI.php.
References $tabs, ilObjectMetaDataGUI\addMDObserver(), ILIAS\Repository\ctrl(), initConditionHandlerInterface(), and setTabs().
Here is the call graph for this function:| ilStructureObjectGUI::getType | ( | ) |
Definition at line 58 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::initConditionHandlerInterface | ( | ) |
Definition at line 483 of file class.ilStructureObjectGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilStructureObjectGUI::initInsertTemplateForm | ( | ) |
Definition at line 931 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, Vendor\Package\$f, ilLMObjectGUI\$lng, ilLMObjectGUI\$ui, ilCtrl\getLinkTarget(), ilPageLayout\MODULE_LM, and ilLanguage\txt().
Referenced by insertPageFromTemplate(), and insertTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::initSetPageLayoutForm | ( | ) |
Init set page layout form.
Definition at line 844 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $id, ilLMObjectGUI\$lng, ILIAS\Repository\form(), ilObjContentObjectGUI\getLayoutOption(), and ilLanguage\txt().
Referenced by setPageLayout().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::insertChapter | ( | bool | $a_as_sub = false | ) |
Insert (multiple) chapters at node.
Definition at line 605 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), ilTree\POS_FIRST_NODE, ilLMObject\putInTree(), and ilLanguage\txt().
Referenced by insertSubchapter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::insertChapterClip | ( | bool | $a_as_sub = false, |
| string | $a_return = "view" |
||
| ) |
Insert Chapter from clipboard.
Definition at line 654 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $log, $user, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), ilTree\POS_FIRST_NODE, ilLMObject\updateInternalLinks(), and ilLogger\write().
Referenced by insertSubchapterClip(), and pasteChapter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::insertPage | ( | ) |
Definition at line 727 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), ILIAS\Repository\lng(), ilTree\POS_FIRST_NODE, ilLMObject\putInTree(), and ilLanguage\txt().
Here is the call graph for this function:| ilStructureObjectGUI::insertPageClip | ( | ) |
Definition at line 761 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $user, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), ilTree\POS_FIRST_NODE, and ilLMObject\updateInternalLinks().
Referenced by pastePage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::insertPageFromTemplate | ( | ) |
Insert (multiple) pages templates at node.
Definition at line 954 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $data, $DIC, initInsertTemplateForm(), ilLMPageObject\insertPagesFromTemplate(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilStructureObjectGUI::insertSubchapter | ( | ) |
Insert (multiple) subchapters at node.
Definition at line 646 of file class.ilStructureObjectGUI.php.
References insertChapter().
Here is the call graph for this function:| ilStructureObjectGUI::insertSubchapterClip | ( | ) |
Definition at line 722 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::insertTemplate | ( | ) |
Displays GUI to select template for page.
Definition at line 912 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, $tabs, ilLMObjectGUI\$ui, ilTabsGUI\clearTargets(), ilLMPageObjectGUI\getLayoutCssFix(), ilCtrl\getLinkTarget(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), initInsertTemplateForm(), ilCtrl\saveParameter(), ilTabsGUI\setBackTarget(), ilCtrl\setParameter(), setTabs(), and ilLanguage\txt().
Here is the call graph for this function:| ilStructureObjectGUI::pasteChapter | ( | ) |
Definition at line 422 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
Here is the call graph for this function:| ilStructureObjectGUI::pastePage | ( | ) |
Definition at line 398 of file class.ilStructureObjectGUI.php.
References $user, insertPageClip(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilStructureObjectGUI::proceedDragDrop | ( | ) |
Definition at line 803 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, XapiProxy\$req, and ilLMObjectGUI\$request.
| ilStructureObjectGUI::putInTree | ( | ?int | $target = null | ) |
put chapter into tree
Definition at line 358 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$requested_target, ilTree\getChildsByType(), ilTree\getRootId(), ilTree\POS_FIRST_NODE, ilTree\POS_LAST_NODE, ilTree\setTableNames(), and ilTree\setTreeTablePK().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::save | ( | ) |
Definition at line 332 of file class.ilStructureObjectGUI.php.
References ilPropertyFormGUI\checkInput(), ilLMObjectGUI\checkTree(), ILIAS\Repository\ctrl(), ilLMObjectGUI\getCreateForm(), ilPropertyFormGUI\getInput(), and putInTree().
Here is the call graph for this function:| ilStructureObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 237 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ILIAS\Repository\lng(), and ilLMObject\saveTitles().
Here is the call graph for this function:| ilStructureObjectGUI::savePageLayout | ( | ) |
Save page layout.
Definition at line 875 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $id, ilLMObjectGUI\$lng, ilLanguage\txt(), and ilLMObject\writeLayout().
Here is the call graph for this function:| ilStructureObjectGUI::setPageLayout | ( | ) |
Set layout for multipl pages.
Definition at line 824 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, ILIAS\Repository\form(), initSetPageLayoutForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:| ilStructureObjectGUI::setStructureObject | ( | ilStructureObject | $a_st_object | ) |
Definition at line 52 of file class.ilStructureObjectGUI.php.
| ilStructureObjectGUI::setTabs | ( | ) |
Definition at line 509 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$lng, $tabs, ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ilObjectMetaDataGUI\getTab(), ILIAS\Repository\lng(), and ilLanguage\txt().
Referenced by create(), executeCommand(), insertTemplate(), showHierarchy(), and subchap().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::showHierarchy | ( | ) |
Definition at line 122 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$requested_transl, ilUtil\getImagePath(), ilObjContentObjectGUI\getMultiLangHeader(), ilFormGUI\setFormAction(), setTabs(), and ilLanguage\txt().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObjectGUI::subchap | ( | ) |
display subchapters of structure object
Definition at line 251 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $user, ilStructureObject\_getPresentationTitle(), ilLMObject\CHAPTER_TITLE, ILIAS\Repository\ctrl(), ilLegacyFormElementsUtil\formSelect(), ilUtil\getImagePath(), ILIAS\Repository\lng(), ilTree\POS_FIRST_NODE, setTabs(), and ilLMObjectGUI\showActions().
Here is the call graph for this function:| ilStructureObjectGUI::switchToLanguage | ( | ) |
Definition at line 901 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, and ilCtrl\setParameter().
Here is the call graph for this function:| ilStructureObjectGUI::view | ( | ) |
Definition at line 117 of file class.ilStructureObjectGUI.php.
References showHierarchy().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 30 of file class.ilStructureObjectGUI.php.
|
protected |
Definition at line 29 of file class.ilStructureObjectGUI.php.
|
protected |
Definition at line 33 of file class.ilStructureObjectGUI.php.
Referenced by insertChapterClip().
|
protected |
Definition at line 32 of file class.ilStructureObjectGUI.php.
Referenced by executeCommand(), insertTemplate(), and setTabs().
| ilLMTree ilStructureObjectGUI::$tree |
Definition at line 34 of file class.ilStructureObjectGUI.php.
|
protected |
Definition at line 31 of file class.ilStructureObjectGUI.php.
Referenced by insertChapterClip(), insertPageClip(), pastePage(), and subchap().