ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilStructureObjectGUI. More...
Public Member Functions | |
__construct (&$a_content_obj, &$a_tree) | |
Constructor 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
ilStructureObjectGUI: ilConditionHandlerGUI, ilObjectMetaDataGUI
Definition at line 21 of file class.ilStructureObjectGUI.php.
ilStructureObjectGUI::__construct | ( | & | $a_content_obj, |
& | $a_tree | ||
) |
Constructor 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(), array, exit, and ilUtil\sendFailure().
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(), array, and ilUtil\sendFailure().
ilStructureObjectGUI::add_cell | ( | $val, | |
$link = "" |
|||
) |
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().
ilStructureObjectGUI::copyItems | ( | $a_return = "view" | ) |
Copy items to clipboard.
Definition at line 224 of file class.ilStructureObjectGUI.php.
References $_POST, $ilCtrl, ilLMObjectGUI\$lng, array, ilLMObject\clipboardCopy(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilLMObject\uniqueTypesCheck().
Referenced by copyChapter(), and copyPage().
ilStructureObjectGUI::copyPage | ( | ) |
copy page
Definition at line 455 of file class.ilStructureObjectGUI.php.
References copyItems().
ilStructureObjectGUI::create | ( | ) |
create new page or chapter in chapter
Definition at line 112 of file class.ilStructureObjectGUI.php.
References $_GET, and setTabs().
ilStructureObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 479 of file class.ilStructureObjectGUI.php.
References cutItems().
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, array, ilLMObject\clipboardCut(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilLMObject\uniqueTypesCheck().
Referenced by cutChapter(), and cutPage().
ilStructureObjectGUI::cutPage | ( | ) |
cut page
Definition at line 447 of file class.ilStructureObjectGUI.php.
References cutItems().
ilStructureObjectGUI::edit | ( | ) |
Definition at line 121 of file class.ilStructureObjectGUI.php.
References view().
ilStructureObjectGUI::editMasterLanguage | ( | ) |
Edit master language.
Definition at line 1000 of file class.ilStructureObjectGUI.php.
References $ilCtrl.
ilStructureObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 58 of file class.ilStructureObjectGUI.php.
References $_POST, $cmd, ilObjectMetaDataGUI\addMDObserver(), initConditionHandlerInterface(), and setTabs().
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.
References array.
Referenced by executeCommand().
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().
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().
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, array, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, ilLMObject\pasteTree(), and ilLMObject\updateInternalLinks().
Referenced by insertSubchapterClip(), and pasteChapter().
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().
ilStructureObjectGUI::insertPageClip | ( | ) |
Insert pages from clipboard.
Definition at line 866 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilUser, $target, array, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, ilLMObject\pasteTree(), and ilLMObject\updateInternalLinks().
Referenced by pastePage().
ilStructureObjectGUI::insertSubchapter | ( | ) |
Insert (multiple) subchapters at node.
Definition at line 738 of file class.ilStructureObjectGUI.php.
References $ilCtrl, and insertChapter().
ilStructureObjectGUI::insertSubchapterClip | ( | ) |
Insert Chapter from clipboard.
Definition at line 822 of file class.ilStructureObjectGUI.php.
References insertChapterClip().
ilStructureObjectGUI::pasteChapter | ( | ) |
paste chapter
Definition at line 495 of file class.ilStructureObjectGUI.php.
References $ilUser, and insertChapterClip().
ilStructureObjectGUI::pastePage | ( | ) |
paste page
Definition at line 463 of file class.ilStructureObjectGUI.php.
References $ilUser, and insertPageClip().
ilStructureObjectGUI::proceedDragDrop | ( | ) |
Perform drag and drop action.
Definition at line 912 of file class.ilStructureObjectGUI.php.
ilStructureObjectGUI::putInTree | ( | ) |
put chapter into tree
Definition at line 413 of file class.ilStructureObjectGUI.php.
References $_GET, IL_FIRST_NODE, IL_LAST_NODE, and ilTree\setTableNames().
Referenced by save().
ilStructureObjectGUI::save | ( | ) |
save new chapter
Definition at line 387 of file class.ilStructureObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), putInTree(), and ilUtil\stripSlashes().
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().
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().
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().
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, array, ilUtil\getImagePath(), and ilObjectMetaDataGUI\getTab().
Referenced by create(), executeCommand(), showHierarchy(), and subchap().
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(), ilFormGUI\setFormAction(), and setTabs().
Referenced by view().
ilStructureObjectGUI::subchap | ( | ) |
Definition at line 276 of file class.ilStructureObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, ilLMObjectGUI\$lng, $tree, ilStructureObject\_getPresentationTitle(), array, ilUtil\formSelect(), ilUtil\getImagePath(), IL_CHAPTER_TITLE, IL_FIRST_NODE, setTabs(), ilLMObjectGUI\showActions(), and ilUtil\switchColor().
ilStructureObjectGUI::switchToLanguage | ( | ) |
Switch to language.
Definition at line 1014 of file class.ilStructureObjectGUI.php.
References $_GET, and $ilCtrl.
ilStructureObjectGUI::view | ( | ) |
Definition at line 129 of file class.ilStructureObjectGUI.php.
References $ilCtrl, $ilUser, ilLMObjectGUI\$lng, $tree, and showHierarchy().
Referenced by edit().
ilStructureObjectGUI::$obj |
Definition at line 23 of file class.ilStructureObjectGUI.php.
ilStructureObjectGUI::$tree |
Definition at line 24 of file class.ilStructureObjectGUI.php.