ILIAS
Release_4_4_x_branch Revision 61816
|
Nested List. More...
Public Member Functions | |
__constructor () | |
Constructor. | |
setItemClass ($a_val) | |
Set li class. | |
getItemClass () | |
Get li class. | |
setListClass ($a_val, $a_depth=0) | |
Set list class. | |
getListClass ($a_depth=0) | |
Get list class. | |
addListNode ($a_content, $a_id, $a_parent=0) | |
Add list node. | |
setAutoNumbering ($a_val) | |
Set auto numbering. | |
getAutoNumbering () | |
Get auto numbering. | |
getNumbers () | |
Get numbers. | |
getHTML () | |
Get HTML. | |
renderNode ($a_id, $tpl, $depth, &$nr) | |
Render node. | |
listItemStart ($tpl) | |
List item start. | |
listItemEnd ($tpl) | |
List item end. | |
listStart ($tpl, $depth) | |
List start. | |
listEnd ($tpl) | |
List end. |
Protected Attributes | |
$item_class = "il_Explorer" | |
$list_class = array() | |
$auto_numbering = false | |
$nr = array() |
ilNestedList::__constructor | ( | ) |
Constructor.
@return |
Definition at line 24 of file class.ilNestedList.php.
ilNestedList::addListNode | ( | $a_content, | |
$a_id, | |||
$a_parent = 0 |
|||
) |
Add list node.
@return |
Definition at line 77 of file class.ilNestedList.php.
ilNestedList::getAutoNumbering | ( | ) |
Get auto numbering.
Definition at line 98 of file class.ilNestedList.php.
References $auto_numbering.
Referenced by renderNode().
ilNestedList::getHTML | ( | ) |
Get HTML.
@return |
Definition at line 120 of file class.ilNestedList.php.
References $nr, $tpl, listEnd(), listStart(), and renderNode().
ilNestedList::getItemClass | ( | ) |
Get li class.
Definition at line 45 of file class.ilNestedList.php.
References $item_class.
Referenced by listItemStart().
ilNestedList::getListClass | ( | $a_depth = 0 | ) |
Get list class.
Definition at line 66 of file class.ilNestedList.php.
Referenced by listStart().
ilNestedList::getNumbers | ( | ) |
Get numbers.
Definition at line 108 of file class.ilNestedList.php.
References $nr.
ilNestedList::listEnd | ( | $tpl | ) |
List end.
@return |
Definition at line 254 of file class.ilNestedList.php.
References $tpl.
Referenced by getHTML(), and renderNode().
ilNestedList::listItemEnd | ( | $tpl | ) |
List item end.
@return |
Definition at line 215 of file class.ilNestedList.php.
References $tpl.
Referenced by renderNode().
ilNestedList::listItemStart | ( | $tpl | ) |
List item start.
@return |
Definition at line 194 of file class.ilNestedList.php.
References $tpl, and getItemClass().
Referenced by renderNode().
ilNestedList::listStart | ( | $tpl, | |
$depth | |||
) |
List start.
@return |
Definition at line 227 of file class.ilNestedList.php.
References $tpl, and getListClass().
Referenced by getHTML(), and renderNode().
ilNestedList::renderNode | ( | $a_id, | |
$tpl, | |||
$depth, | |||
& | $nr | ||
) |
Render node.
@return |
Definition at line 145 of file class.ilNestedList.php.
References $nr, $tpl, getAutoNumbering(), listEnd(), listItemEnd(), listItemStart(), and listStart().
Referenced by getHTML().
ilNestedList::setAutoNumbering | ( | $a_val | ) |
Set auto numbering.
bool | $a_val | auto numbering |
Definition at line 88 of file class.ilNestedList.php.
ilNestedList::setItemClass | ( | $a_val | ) |
Set li class.
string | li class |
Definition at line 35 of file class.ilNestedList.php.
ilNestedList::setListClass | ( | $a_val, | |
$a_depth = 0 |
|||
) |
Set list class.
string | list class |
Definition at line 55 of file class.ilNestedList.php.
|
protected |
Definition at line 15 of file class.ilNestedList.php.
Referenced by getAutoNumbering().
|
protected |
Definition at line 13 of file class.ilNestedList.php.
Referenced by getItemClass().
|
protected |
Definition at line 14 of file class.ilNestedList.php.
|
protected |
Definition at line 16 of file class.ilNestedList.php.
Referenced by getHTML(), getNumbers(), and renderNode().