ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
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 () | |
setItemClass (string $a_val) | |
getItemClass () | |
setListClass (string $a_val, int $a_depth=0) | |
getListClass (int $a_depth=0) | |
addListNode (string $a_content, string $a_id, $a_parent=0) | |
setAutoNumbering (bool $a_val) | |
getAutoNumbering () | |
getNumbers () | |
getHTML () | |
renderNode ( $a_id, ilTemplate $tpl, int $depth, array &$nr) | |
listItemStart (ilTemplate $tpl) | |
listItemEnd (ilTemplate $tpl) | |
listStart (ilTemplate $tpl, int $depth) | |
listEnd (ilTemplate $tpl) | |
Protected Attributes | |
string | $item_class = "il_Explorer" |
array | $list_class = array() |
bool | $auto_numbering = false |
array | $nr = array() |
array | $nodes = [] |
array | $childs = [] |
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 Nested List
Definition at line 23 of file class.ilNestedList.php.
ilNestedList::__construct | ( | ) |
Definition at line 32 of file class.ilNestedList.php.
ilNestedList::addListNode | ( | string | $a_content, |
string | $a_id, | ||
$a_parent = 0 |
|||
) |
Definition at line 60 of file class.ilNestedList.php.
ilNestedList::getAutoNumbering | ( | ) |
Definition at line 74 of file class.ilNestedList.php.
References $auto_numbering.
Referenced by renderNode().
ilNestedList::getHTML | ( | ) |
Definition at line 84 of file class.ilNestedList.php.
References $tpl, listEnd(), listStart(), and renderNode().
ilNestedList::getItemClass | ( | ) |
Definition at line 44 of file class.ilNestedList.php.
References $item_class.
Referenced by listItemStart().
ilNestedList::getListClass | ( | int | $a_depth = 0 | ) |
Definition at line 55 of file class.ilNestedList.php.
Referenced by listStart().
ilNestedList::getNumbers | ( | ) |
ilNestedList::listEnd | ( | ilTemplate | $tpl | ) |
Definition at line 177 of file class.ilNestedList.php.
References ilTemplate\touchBlock().
Referenced by getHTML(), and renderNode().
ilNestedList::listItemEnd | ( | ilTemplate | $tpl | ) |
Definition at line 153 of file class.ilNestedList.php.
References ilTemplate\touchBlock().
Referenced by renderNode().
ilNestedList::listItemStart | ( | ilTemplate | $tpl | ) |
Definition at line 141 of file class.ilNestedList.php.
References getItemClass(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilTemplate\touchBlock().
Referenced by renderNode().
ilNestedList::listStart | ( | ilTemplate | $tpl, |
int | $depth | ||
) |
Definition at line 159 of file class.ilNestedList.php.
References getListClass(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilTemplate\touchBlock().
Referenced by getHTML(), and renderNode().
ilNestedList::renderNode | ( | $a_id, | |
ilTemplate | $tpl, | ||
int | $depth, | ||
array & | $nr | ||
) |
Definition at line 101 of file class.ilNestedList.php.
References $i, getAutoNumbering(), listEnd(), listItemEnd(), listItemStart(), listStart(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilTemplate\touchBlock().
Referenced by getHTML().
ilNestedList::setAutoNumbering | ( | bool | $a_val | ) |
Definition at line 69 of file class.ilNestedList.php.
ilNestedList::setItemClass | ( | string | $a_val | ) |
Definition at line 39 of file class.ilNestedList.php.
ilNestedList::setListClass | ( | string | $a_val, |
int | $a_depth = 0 |
||
) |
Definition at line 50 of file class.ilNestedList.php.
|
protected |
Definition at line 27 of file class.ilNestedList.php.
Referenced by getAutoNumbering().
|
protected |
Definition at line 30 of file class.ilNestedList.php.
|
protected |
Definition at line 25 of file class.ilNestedList.php.
Referenced by getItemClass().
|
protected |
Definition at line 26 of file class.ilNestedList.php.
|
protected |
Definition at line 29 of file class.ilNestedList.php.
|
protected |
Definition at line 28 of file class.ilNestedList.php.
Referenced by getNumbers().