|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
This class represents a hierarchical form. More...
Inheritance diagram for ilChapterHierarchyFormGUI:
Collaboration diagram for ilChapterHierarchyFormGUI:Public Member Functions | |
| __construct ($a_lm_type, $a_lang="-") | |
| Constructor. More... | |
| getChildTitle ($a_child) | |
| Get child title. More... | |
| getChildInfo ($a_child) | |
| Get child info. More... | |
| getMenuItems ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs=null) | |
| Get menu items. More... | |
| nodeAllowsChilds ($a_node) | |
| Which nodes allow child nodes? More... | |
| manageDragAndDrop ($a_node, $a_depth, $a_first_child_drop_area=false, $a_next_sibling=null, $a_childs=null) | |
| Makes nodes drag and drop content and targets. More... | |
| getChildIcon ($a_item) | |
| Get icon path for an item. More... | |
| getChildIconAlt ($a_item) | |
| Get icon alt text. More... | |
| getChildCommands ($a_item) | |
| Get item commands. More... | |
Public Member Functions inherited from ilHierarchyFormGUI | |
| __construct () | |
| Constructor. More... | |
| setParentCommand ($a_parent_obj, $a_parent_cmd) | |
| Set parent gui object/cmd. More... | |
| getParentObject () | |
| Get Parent object. More... | |
| getParentCommand () | |
| Get parent command. More... | |
| setId ($a_id) | |
| Set Id. More... | |
| getId () | |
| Get Id. More... | |
| setTree ($a_tree) | |
| Set Tree Object. More... | |
| getTree () | |
| Get Tree Object. More... | |
| setCurrentTopNodeId ($a_currenttopnodeid) | |
| Set Current Top Node ID. More... | |
| getCurrentTopNodeId () | |
| Get Current Top Node ID. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setIcon ($a_icon) | |
| Set Icon. More... | |
| getIcon () | |
| Get Icon. More... | |
| setCheckboxName ($a_checkboxname) | |
| Set Checkbox Name. More... | |
| getCheckboxName () | |
| Get Checkbox Name. More... | |
| setDragIcon ($a_dragicon) | |
| Set Drag Icon Path. More... | |
| getDragIcon () | |
| Get Drag Icon Path. More... | |
| setMaxDepth ($a_maxdepth) | |
| Set Maximum Depth. More... | |
| getMaxDepth () | |
| Get Maximum Depth. More... | |
| setExplorerUpdater ($a_exp_frame, $a_exp_id, $a_exp_target_script) | |
| Set Explorer Updater. More... | |
| setTriggeredUpdateCommand ($a_triggered_update_command) | |
| Set Explorer Updater. More... | |
| addHelpItem ($a_text, $a_image="") | |
| Get all help items. More... | |
| getHelpItems () | |
| Get all help items. More... | |
| makeDragTarget ($a_id, $a_group, $a_first_child_drop_area=false, $a_as_subitem=false, $a_diss_text="") | |
| Makes a nodes (following droparea) a drag target. More... | |
| makeDragContent ($a_id, $a_group) | |
| Makes a node a drag content. More... | |
| addMultiCommand ($a_txt, $a_cmd) | |
| Add a multi command (for selection of items) More... | |
| addCommand ($a_txt, $a_cmd) | |
| Add a command. More... | |
| setHighlightedNodes ($a_val) | |
| Set highlighted nodes. More... | |
| getHighlightedNodes () | |
| Get highlighted nodes. More... | |
| setFocusId ($a_val) | |
| Set focus if. More... | |
| getFocusId () | |
| Get focus id. More... | |
| setExpandVariable ($a_val) | |
| Set expand variable. More... | |
| getExpandVariable () | |
| Get expand variable. More... | |
| setExpanded ($a_val) | |
| Set expanded Array. More... | |
| getExpanded () | |
| Get expanded array. More... | |
| updateExpanded () | |
| Update expand information in session. More... | |
| setTypeWhiteList ($a_val) | |
| Set type whitelist. More... | |
| getTypeWhiteList () | |
| Get type whitelist. More... | |
| getChilds ($a_node_id=false) | |
| Get all childs of current node. More... | |
| getContent () | |
| Get Form Content. More... | |
| getLegend () | |
| Get Legend. More... | |
| getLevelHTML ($a_par_node, $a_depth, &$a_childs) | |
| Get Form HTML. More... | |
| renderChild ($a_tpl, $a_child, $a_depth, $next_sibling=null) | |
| Render a single child (including grandchilds) More... | |
| getChildIcon ($a_item) | |
| Get icon path for an item. More... | |
| getChildIconAlt ($a_item) | |
| Get icon alt text for an item. More... | |
| getChildCommands ($a_item) | |
| Get item commands. More... | |
| getChildTitle ($a_child) | |
| Get child title. More... | |
| getChildInfo ($a_child) | |
| Get child info. More... | |
| getMenuItems ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs=null) | |
| Get menu items for drop area of node. More... | |
| nodeAllowsChilds ($a_node) | |
| Checks, whether current nodes allows childs at all. More... | |
| manageDragAndDrop ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs=null) | |
| Makes nodes drag and drop content and targets. More... | |
| getHTML () | |
| Get HTML. More... | |
Public Member Functions inherited from ilFormGUI | |
| setFormAction ($a_formaction) | |
| Set FormAction. More... | |
| getFormAction () | |
| Get FormAction. More... | |
| setTarget ($a_target) | |
| Set Target. More... | |
| getTarget () | |
| Get Target. More... | |
| setMultipart ($a_multipart) | |
| Set Enctype Multipart/Formdata true/false. More... | |
| getMultipart () | |
| Get Enctype Multipart/Formdata true/false. More... | |
| setId ($a_id) | |
| Set Id. More... | |
| getId () | |
| Get Id. More... | |
| setName ($a_name) | |
| Set Name. More... | |
| getName () | |
| Get Name. More... | |
| setKeepOpen ($a_keepopen) | |
| Set Keep Form Tag Open. More... | |
| getKeepOpen () | |
| Get Keep Form Tag Open. More... | |
| setOpenTag ($a_open) | |
| Enable/Disable Open Form Tag. More... | |
| getOpenTag () | |
| Get Open Form Tag Enabled. More... | |
| setCloseTag ($a_val) | |
| Set close tag. More... | |
| getCloseTag () | |
| Get close tag. More... | |
| setPreventDoubleSubmission ($a_val) | |
| Set prevent double submission. More... | |
| getPreventDoubleSubmission () | |
| Get prevent double submission. More... | |
| getHTML () | |
| Get HTML. More... | |
| getContent () | |
| Get Content. More... | |
Protected Attributes | |
| $user | |
| $page_layouts | |
Protected Attributes inherited from ilHierarchyFormGUI | |
| $lng | |
| $tpl | |
| $ctrl | |
Protected Attributes inherited from ilFormGUI | |
| $formaction | |
| $multipart = false | |
| $keepopen = false | |
| $opentag = true | |
| $id | |
| $name | |
| $prevent_double_submission = false | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilHierarchyFormGUI | |
| static | getPostMulti () |
| Get multi number of _POST input. More... | |
| static | getPostNodeId () |
| Get node ID of _POST input. More... | |
| static | getPostFirstChild () |
| Should node be inserted as first child of target node (true) or as successor (false) More... | |
| static | getPostFields () |
| Get all post fields. More... | |
This class represents a hierarchical form.
These forms are used for quick editing, where each node is represented by it's title.
Definition at line 14 of file class.ilChapterHierarchyFormGUI.php.
| ilChapterHierarchyFormGUI::__construct | ( | $a_lm_type, | |
$a_lang = "-" |
|||
| ) |
Constructor.
Definition at line 31 of file class.ilChapterHierarchyFormGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilPageLayout\activeLayouts(), ilPageLayout\MODULE_LM, ilHierarchyFormGUI\setCheckboxName(), and user().
Here is the call graph for this function:| ilChapterHierarchyFormGUI::getChildCommands | ( | $a_item | ) |
Get item commands.
| array | item array |
Reimplemented from ilHierarchyFormGUI.
Definition at line 325 of file class.ilChapterHierarchyFormGUI.php.
References ilHierarchyFormGUI\$ctrl, and ilHierarchyFormGUI\$lng.
| ilChapterHierarchyFormGUI::getChildIcon | ( | $a_item | ) |
Get icon path for an item.
| array | itema array |
Reimplemented from ilHierarchyFormGUI.
Definition at line 255 of file class.ilChapterHierarchyFormGUI.php.
References $img, $lm_set, ilPageObject\_isScheduledActivation(), ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), and ilUtil\getImagePath().
Here is the call graph for this function:| ilChapterHierarchyFormGUI::getChildIconAlt | ( | $a_item | ) |
Get icon alt text.
| array | itema array |
Reimplemented from ilHierarchyFormGUI.
Definition at line 296 of file class.ilChapterHierarchyFormGUI.php.
References ilHierarchyFormGUI\$lng, ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), and ilUtil\getImagePath().
Here is the call graph for this function:| ilChapterHierarchyFormGUI::getChildInfo | ( | $a_child | ) |
Get child info.
| array | $a_child | node array |
Reimplemented from ilHierarchyFormGUI.
Definition at line 73 of file class.ilChapterHierarchyFormGUI.php.
| ilChapterHierarchyFormGUI::getChildTitle | ( | $a_child | ) |
Get child title.
return
Reimplemented from ilHierarchyFormGUI.
Definition at line 58 of file class.ilChapterHierarchyFormGUI.php.
| ilChapterHierarchyFormGUI::getMenuItems | ( | $a_node, | |
| $a_depth, | |||
$a_first_child = false, |
|||
$a_next_sibling = null, |
|||
$a_childs = null |
|||
| ) |
Get menu items.
Reimplemented from ilHierarchyFormGUI.
Definition at line 84 of file class.ilChapterHierarchyFormGUI.php.
References $ilUser, ilHierarchyFormGUI\$lng, $user, and ilHierarchyFormGUI\getMaxDepth().
Here is the call graph for this function:| ilChapterHierarchyFormGUI::manageDragAndDrop | ( | $a_node, | |
| $a_depth, | |||
$a_first_child_drop_area = false, |
|||
$a_next_sibling = null, |
|||
$a_childs = null |
|||
| ) |
Makes nodes drag and drop content and targets.
| object | $a_node | node array |
Reimplemented from ilHierarchyFormGUI.
Definition at line 178 of file class.ilChapterHierarchyFormGUI.php.
References ilHierarchyFormGUI\$lng, ilHierarchyFormGUI\getMaxDepth(), ilHierarchyFormGUI\makeDragContent(), and ilHierarchyFormGUI\makeDragTarget().
Here is the call graph for this function:| ilChapterHierarchyFormGUI::nodeAllowsChilds | ( | $a_node | ) |
Which nodes allow child nodes?
Reimplemented from ilHierarchyFormGUI.
Definition at line 165 of file class.ilChapterHierarchyFormGUI.php.
|
protected |
Definition at line 24 of file class.ilChapterHierarchyFormGUI.php.
|
protected |
Definition at line 19 of file class.ilChapterHierarchyFormGUI.php.
Referenced by getMenuItems().