Class HtmlList

Summary

Fully Qualified Name: Zend\View\Helper\HtmlList
Extends: AbstractHtmlElement

Description

Helper for ordered and unordered lists

Methods

Name Description Defined By
__invoke() Generates a 'List' element. HtmlList
getClosingBracket() Get the tag closing bracket AbstractHtmlElement
getView() Get the view object AbstractHelper
setView() Set the View object AbstractHelper

Method Details

__invoke()

Generates a 'List' element.

Parameter Name Type Description
$items array Array
$ordered bool Specifies
$attribs array Attributes
$escape bool Escape

Returns: string The list XHTML.

getClosingBracket()

Get the tag closing bracket

Returns: string

getView()

Get the view object

Returns: null|\Renderer

setView()

Set the View object

Parameter Name Type Description
$view \Renderer

Returns: \AbstractHelper

Top