Helper for ordered and unordered lists.
More...
|
| __invoke (array $items, $ordered=false, $attribs=false, $escape=true) |
| Generates a 'List' element.
|
|
| getClosingBracket () |
| Get the tag closing bracket.
|
|
| setView (Renderer $view) |
| Set the View object.
|
|
| getView () |
| Get the view object.
|
|
Helper for ordered and unordered lists.
__invoke |
( |
array |
$items, |
|
|
|
$ordered = false , |
|
|
|
$attribs = false , |
|
|
|
$escape = true |
|
) |
| |
Generates a 'List' element.
- Parameters
-
array | $items | Array with the elements of the list |
bool | $ordered | Specifies ordered/unordered list; default unordered |
array | $attribs | Attributes for the ol/ul tag. |
bool | $escape | Escape the items. |
- Exceptions
-
Exception\InvalidArgumentException | |
- Returns
- string The list XHTML.