ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_lm_type, string $a_lang="-") | |
getChildTitle (array $a_child) | |
getChildInfo (array $a_child) | |
Get child info. More... | |
getMenuItems (array $a_node, int $a_depth, bool $a_first_child=false, ?array $a_next_sibling=null, ?array $a_childs=null) | |
Get menu items. More... | |
nodeAllowsChilds (array $a_node) | |
Which nodes allow child nodes? More... | |
manageDragAndDrop (array $a_node, int $a_depth, bool $a_first_child=false, ?array $a_next_sibling=null, ?array $a_childs=null) | |
Makes nodes drag and drop content and targets. More... | |
getChildIcon (array $a_item) | |
Get icon path for an item. More... | |
getChildIconAlt (array $a_item) | |
Get icon alt text. More... | |
getChildCommands (array $a_item) | |
Get item commands. More... | |
![]() | |
__construct () | |
setParentCommand (object $a_parent_obj, string $a_parent_cmd) | |
getParentObject () | |
getParentCommand () | |
setId (string $a_id) | |
getId () | |
setTree (ilTree $a_tree) | |
getTree () | |
setCurrentTopNodeId (int $a_currenttopnodeid) | |
getCurrentTopNodeId () | |
setTitle (string $a_title) | |
getTitle () | |
setIcon (string $a_icon) | |
getIcon () | |
setCheckboxName (string $a_checkboxname) | |
getCheckboxName () | |
setDragIcon (string $a_dragicon) | |
getDragIcon () | |
setMaxDepth (int $a_maxdepth) | |
getMaxDepth () | |
setExplorerUpdater (string $a_exp_frame, string $a_exp_id, string $a_exp_target_script) | |
setTriggeredUpdateCommand (string $a_triggered_update_command) | |
addHelpItem (string $a_text, string $a_image="") | |
getHelpItems () | |
makeDragTarget (string $a_id, string $a_group, bool $a_first_child_drop_area=false, bool $a_as_subitem=false, string $a_diss_text="") | |
makeDragContent (string $a_id, string $a_group) | |
addMultiCommand (string $a_txt, string $a_cmd) | |
addCommand (string $a_txt, string $a_cmd) | |
setHighlightedNodes (array $a_val) | |
getHighlightedNodes () | |
setFocusId (string $a_val) | |
getFocusId () | |
setExpandVariable (string $a_val) | |
getExpandVariable () | |
setExpanded (array $a_val) | |
getExpanded () | |
updateExpanded () | |
setTypeWhiteList (array $a_val) | |
getTypeWhiteList () | |
getChilds (?int $a_node_id=null) | |
Get all childs of current node. More... | |
getContent () | |
getLegend () | |
getLevelHTML (array $a_par_node, int $a_depth, array &$a_childs) | |
renderChild (ilTemplate $a_tpl, array $a_child, int $a_depth, ?array $next_sibling=null) | |
Render a single child (including grandchilds) More... | |
getChildIcon (array $a_item) | |
getChildIconAlt (array $a_item) | |
getChildCommands (array $a_item) | |
getChildTitle (array $a_child) | |
getChildInfo (array $a_child) | |
getMenuItems (array $a_node, int $a_depth, bool $a_first_child=false, ?array $a_next_sibling=null, ?array $a_childs=null) | |
Get menu items for drop area of node. More... | |
nodeAllowsChilds (array $a_node) | |
Checks, whether current nodes allows childs at all. More... | |
manageDragAndDrop (array $a_node, int $a_depth, bool $a_first_child=false, ?array $a_next_sibling=null, ?array $a_childs=null) | |
Makes nodes drag and drop content and targets. More... | |
getHTML () | |
![]() | |
setFormAction (string $a_formaction) | |
getFormAction () | |
setTarget (string $a_target) | |
getTarget () | |
setMultipart (bool $a_multipart) | |
getMultipart () | |
setId (string $a_id) | |
getId () | |
setName (string $a_name) | |
getName () | |
setKeepOpen (bool $a_keepopen) | |
getKeepOpen () | |
setOpenTag (bool $a_open) | |
getOpenTag () | |
setCloseTag (bool $a_val) | |
getCloseTag () | |
setPreventDoubleSubmission (bool $a_val) | |
getPreventDoubleSubmission () | |
getHTML () | |
getContent () | |
Protected Attributes | |
ilObjUser | $user |
array | $page_layouts |
string | $lang |
string | $lm_type |
![]() | |
ilGlobalTemplateInterface | $main_tpl |
string | $exp_target_script = "" |
string | $icon = "" |
string | $exp_id = "" |
ilLanguage | $lng |
ilCtrl | $ctrl |
string | $expand_variable = "" |
array | $white_list = null |
array | $highlighted_nodes = [] |
string | $focus_id = "" |
string | $exp_frame = "" |
string | $triggered_update_command = "" |
array | $drag_target = [] |
array | $drag_content = [] |
object | $parent_obj |
string | $parent_cmd = "" |
ilTree | $tree |
int | $currenttopnodeid = 0 |
string | $title = "" |
string | $checkboxname = "" |
string | $dragicon = "" |
int | $maxdepth = 0 |
array | $help_items = [] |
array | $diss_menues = [] |
array | $multi_commands = [] |
array | $commands = [] |
array | $expanded = [] |
HTTP Services | $http |
Refinery Factory | $refinery |
![]() | |
string | $formaction = "" |
bool | $multipart = false |
bool | $keepopen = false |
bool | $opentag = true |
string | $id = '' |
string | $name = '' |
string | $target = '' |
bool | $prevent_double_submission = false |
Additional Inherited Members | |
![]() | |
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 () |
![]() | |
str ($key) | |
![]() | |
static | _str ($key) |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 25 of file class.ilChapterHierarchyFormGUI.php.
ilChapterHierarchyFormGUI::__construct | ( | string | $a_lm_type, |
string | $a_lang = "-" |
||
) |
Definition at line 32 of file class.ilChapterHierarchyFormGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilPageLayout\activeLayouts(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilPageLayout\MODULE_LM, ilHierarchyFormGUI\setCheckboxName(), and ILIAS\Repository\user().
ilChapterHierarchyFormGUI::getChildCommands | ( | array | $a_item | ) |
Get item commands.
array | $a_item |
Definition at line 323 of file class.ilChapterHierarchyFormGUI.php.
References ilHierarchyFormGUI\$commands, ilHierarchyFormGUI\$ctrl, ilHierarchyFormGUI\$lng, and ilLanguage\txt().
ilChapterHierarchyFormGUI::getChildIcon | ( | array | $a_item | ) |
Get icon path for an item.
array | $a_item | itema array |
Definition at line 252 of file class.ilChapterHierarchyFormGUI.php.
References $img, $lm_set, ilPageObject\_isScheduledActivation(), ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), and ilUtil\getImagePath().
ilChapterHierarchyFormGUI::getChildIconAlt | ( | array | $a_item | ) |
Get icon alt text.
array | $a_item | itema array |
Definition at line 293 of file class.ilChapterHierarchyFormGUI.php.
References ilHierarchyFormGUI\$lng, ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), and ilLanguage\txt().
ilChapterHierarchyFormGUI::getChildInfo | ( | array | $a_child | ) |
Get child info.
array | $a_child | node array |
Definition at line 66 of file class.ilChapterHierarchyFormGUI.php.
ilChapterHierarchyFormGUI::getChildTitle | ( | array | $a_child | ) |
Definition at line 52 of file class.ilChapterHierarchyFormGUI.php.
ilChapterHierarchyFormGUI::getMenuItems | ( | array | $a_node, |
int | $a_depth, | ||
bool | $a_first_child = false , |
||
?array | $a_next_sibling = null , |
||
?array | $a_childs = null |
||
) |
Get menu items.
Definition at line 77 of file class.ilChapterHierarchyFormGUI.php.
References $ilUser, ilHierarchyFormGUI\$lng, $user, ilHierarchyFormGUI\getMaxDepth(), and ilLanguage\txt().
ilChapterHierarchyFormGUI::manageDragAndDrop | ( | array | $a_node, |
int | $a_depth, | ||
bool | $a_first_child = false , |
||
?array | $a_next_sibling = null , |
||
?array | $a_childs = null |
||
) |
Makes nodes drag and drop content and targets.
array | $a_node | node array |
Definition at line 173 of file class.ilChapterHierarchyFormGUI.php.
References ilHierarchyFormGUI\$lng, ilHierarchyFormGUI\getMaxDepth(), ilHierarchyFormGUI\makeDragContent(), ilHierarchyFormGUI\makeDragTarget(), and ilLanguage\txt().
ilChapterHierarchyFormGUI::nodeAllowsChilds | ( | array | $a_node | ) |
Which nodes allow child nodes?
Definition at line 161 of file class.ilChapterHierarchyFormGUI.php.
|
protected |
Definition at line 29 of file class.ilChapterHierarchyFormGUI.php.
|
protected |
Definition at line 30 of file class.ilChapterHierarchyFormGUI.php.
|
protected |
Definition at line 28 of file class.ilChapterHierarchyFormGUI.php.
|
protected |
Definition at line 27 of file class.ilChapterHierarchyFormGUI.php.
Referenced by getMenuItems().