Zend\View\Helper\HtmlList::__invoke
Generates a 'List' element.
Signature
public function __invoke(array
$items,
[bool
$ordered = false,
[array
$attribs = false,
[bool
$escape = true]]] )
Parameters
$items
— array- Array with the elements of the list
$ordered
— object- Specifies ordered/unordered list; default unordered
$attribs
— array- Attributes for the ol/ul tag.
$escape
— object- Escape the items.
Returns
- string
- The list XHTML.