Methods
Generates a 'List' element.
__invoke(array $items, bool $ordered, array $attribs, bool $escape) : string
Parameters
$items
array
Array with the elements of the list
$ordered
bool
Specifies ordered/unordered list; default unordered
$attribs
array
Attributes for the ol/ul tag.
$escape
bool
Escape the items.
Exceptions
Returns
string
The list XHTML.
Get the tag closing bracket
getClosingBracket() : string
Inherited
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::getClosingBracket() |
Returns
string
Get the view object
getView() : null | \Zend\View\Renderer\RendererInterface
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::getView() |
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::getView() |
Returns
Set the View object
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::setView() |
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::setView() |
Parameters
Returns
Converts an associative array to a string of tag attributes.
htmlAttribs(array $attribs) : string
Inherited
access |
public |
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::htmlAttribs() |
Parameters
$attribs
array
From this array, each key-value pair is converted to an attribute name and value.
Returns
string
The XHTML for the attributes.
Is doctype XHTML?
isXhtml() : bool
Inherited
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::isXhtml() |
Returns
bool
Normalize an ID
normalizeId(string $value) : string
Inherited
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::normalizeId() |
Parameters
$value
string
Returns
string
Properties
The tag closing bracket
$closingBracket : string
Inherited
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::$$closingBracket |
View object instance
$view : \Zend\View\Renderer\RendererInterface
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::$$view |
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::$$view |
Constants
EOL character
EOL
Inherited
inherited_from |
\Zend\View\Helper\AbstractHtmlElement::EOL |