ILIAS
release_8 Revision v8.19
|
User Interface for Structure Objects Editing. More...
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... | |
![]() | |
__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... | |
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 |
![]() | |
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 |
![]() | |
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\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
|
static |
ilPermissionException |
Definition at line 560 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().
ilStructureObjectGUI::activatePages | ( | ) |
Definition at line 428 of file class.ilStructureObjectGUI.php.
References $id, ilLMObjectGUI\$lng, $path, ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilPageObject\_writeActive(), ILIAS\Repository\ctrl(), and ilLanguage\txt().
ilStructureObjectGUI::cancel | ( | ) |
cancel creation of new page or chapter
Definition at line 499 of file class.ilStructureObjectGUI.php.
References ILIAS\Repository\ctrl().
ilStructureObjectGUI::copyChapter | ( | ) |
copy a single chapter (selection)
Definition at line 418 of file class.ilStructureObjectGUI.php.
References copyItems().
ilStructureObjectGUI::copyItems | ( | string | $a_return = "view" | ) |
Copy items to clipboard.
Definition at line 201 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCopy(), ilEditClipboard\setAction(), ilLanguage\txt(), and ilLMObject\uniqueTypesCheck().
Referenced by copyChapter(), and copyPage().
ilStructureObjectGUI::copyPage | ( | ) |
Definition at line 394 of file class.ilStructureObjectGUI.php.
References copyItems().
ilStructureObjectGUI::create | ( | ) |
Definition at line 104 of file class.ilStructureObjectGUI.php.
References setTabs().
ilStructureObjectGUI::cutChapter | ( | ) |
Definition at line 410 of file class.ilStructureObjectGUI.php.
References cutItems().
ilStructureObjectGUI::cutItems | ( | string | $a_return = "view" | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 164 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObject\clipboardCut(), ilEditClipboard\setAction(), ilLanguage\txt(), and ilLMObject\uniqueTypesCheck().
Referenced by cutChapter(), and cutPage().
ilStructureObjectGUI::cutPage | ( | ) |
Definition at line 389 of file class.ilStructureObjectGUI.php.
References cutItems().
ilStructureObjectGUI::edit | ( | ) |
Definition at line 112 of file class.ilStructureObjectGUI.php.
References view().
ilStructureObjectGUI::editMasterLanguage | ( | ) |
Definition at line 894 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, and ilCtrl\setParameter().
ilStructureObjectGUI::executeCommand | ( | ) |
Definition at line 63 of file class.ilStructureObjectGUI.php.
References $tabs, ilObjectMetaDataGUI\addMDObserver(), ILIAS\Repository\ctrl(), initConditionHandlerInterface(), and setTabs().
ilStructureObjectGUI::getType | ( | ) |
Definition at line 58 of file class.ilStructureObjectGUI.php.
ilStructureObjectGUI::initConditionHandlerInterface | ( | ) |
Definition at line 484 of file class.ilStructureObjectGUI.php.
Referenced by executeCommand().
ilStructureObjectGUI::initInsertTemplateForm | ( | ) |
Definition at line 932 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().
ilStructureObjectGUI::initSetPageLayoutForm | ( | ) |
Init set page layout form.
Definition at line 845 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $id, ilLMObjectGUI\$lng, ILIAS\Repository\form(), ilObjContentObjectGUI\getLayoutOption(), and ilLanguage\txt().
Referenced by setPageLayout().
ilStructureObjectGUI::insertChapter | ( | bool | $a_as_sub = false | ) |
Insert (multiple) chapters at node.
Definition at line 606 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $i, ilLMObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), ilTree\POS_FIRST_NODE, ilLMObject\putInTree(), and ilLanguage\txt().
Referenced by insertSubchapter().
ilStructureObjectGUI::insertChapterClip | ( | bool | $a_as_sub = false , |
string | $a_return = "view" |
||
) |
Insert Chapter from clipboard.
Definition at line 655 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilUser, $log, $user, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), ilTree\POS_FIRST_NODE, ilLMObject\updateInternalLinks(), and ilLogger\write().
Referenced by insertSubchapterClip(), and pasteChapter().
ilStructureObjectGUI::insertPage | ( | ) |
Definition at line 728 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $i, ilLMObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), ILIAS\Repository\lng(), ilTree\POS_FIRST_NODE, ilLMObject\putInTree(), and ilLanguage\txt().
ilStructureObjectGUI::insertPageClip | ( | ) |
Definition at line 762 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilUser, $user, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), ilTree\POS_FIRST_NODE, and ilLMObject\updateInternalLinks().
Referenced by pastePage().
ilStructureObjectGUI::insertPageFromTemplate | ( | ) |
Insert (multiple) pages templates at node.
Definition at line 955 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $data, $DIC, initInsertTemplateForm(), ilLMPageObject\insertPagesFromTemplate(), and ILIAS\Repository\lng().
ilStructureObjectGUI::insertSubchapter | ( | ) |
Insert (multiple) subchapters at node.
Definition at line 647 of file class.ilStructureObjectGUI.php.
References insertChapter().
ilStructureObjectGUI::insertSubchapterClip | ( | ) |
Definition at line 723 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
ilStructureObjectGUI::insertTemplate | ( | ) |
Displays GUI to select template for page.
Definition at line 913 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().
ilStructureObjectGUI::pasteChapter | ( | ) |
Definition at line 423 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
ilStructureObjectGUI::pastePage | ( | ) |
Definition at line 399 of file class.ilStructureObjectGUI.php.
References $ilUser, $user, insertPageClip(), and ILIAS\Repository\lng().
ilStructureObjectGUI::proceedDragDrop | ( | ) |
Definition at line 804 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 359 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().
ilStructureObjectGUI::save | ( | ) |
Definition at line 333 of file class.ilStructureObjectGUI.php.
References ilPropertyFormGUI\checkInput(), ilLMObjectGUI\checkTree(), ILIAS\Repository\ctrl(), ilLMObjectGUI\getCreateForm(), ilPropertyFormGUI\getInput(), and putInTree().
ilStructureObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 238 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ILIAS\Repository\lng(), and ilLMObject\saveTitles().
ilStructureObjectGUI::savePageLayout | ( | ) |
Save page layout.
Definition at line 876 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $id, ilLMObjectGUI\$lng, ilLanguage\txt(), and ilLMObject\writeLayout().
ilStructureObjectGUI::setPageLayout | ( | ) |
Set layout for multipl pages.
Definition at line 825 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, ILIAS\Repository\form(), initSetPageLayoutForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilStructureObjectGUI::setStructureObject | ( | ilStructureObject | $a_st_object | ) |
Definition at line 52 of file class.ilStructureObjectGUI.php.
ilStructureObjectGUI::setTabs | ( | ) |
Definition at line 510 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().
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().
ilStructureObjectGUI::subchap | ( | ) |
display subchapters of structure object
Definition at line 252 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilUser, $user, ilStructureObject\_getPresentationTitle(), ilLMObject\CHAPTER_TITLE, ILIAS\Repository\ctrl(), ilLegacyFormElementsUtil\formSelect(), ilUtil\getImagePath(), ILIAS\Repository\lng(), ilTree\POS_FIRST_NODE, setTabs(), and ilLMObjectGUI\showActions().
ilStructureObjectGUI::switchToLanguage | ( | ) |
Definition at line 902 of file class.ilStructureObjectGUI.php.
References ilLMObjectGUI\$ctrl, and ilCtrl\setParameter().
ilStructureObjectGUI::view | ( | ) |
Definition at line 117 of file class.ilStructureObjectGUI.php.
References showHierarchy().
Referenced by edit().
|
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().