HtmlElement

View helper for rendering a HTML element.
extends Zend\View\Helper\AbstractHtmlElement
Methods Summary
public
# __invoke( string $element )
HTML element helper
public
# __toString( )
Render the element and its attributes
public
# setAttribute( string $key , string $value )
Set an attribute to the current element
public
# appendAttribute( \strink $key , string $value )
Append an attribute to an element
public
# setAttributes( array $attributes )
Set attributes to the current element
public
# removeAttribute( string $key )
Remove an attribute from the current element
public
# removeAttributes( )
Remove all attributes from the current element
Methods inherited from Zend\View\Helper\AbstractHtmlElement
getClosingBracket(), isXhtml(), htmlAttribs(), normalizeId()
Methods inherited from Zend\View\Helper\AbstractHelper
setView(), getView()
Constants inherited from Zend\View\Helper\AbstractHtmlElement
EOL
Properties Summary
protected array $elements
# array ( )
protected string $element
# NULL
Properties inherited from Zend\View\Helper\AbstractHtmlElement
$closingBracket
Properties inherited from Zend\View\Helper\AbstractHelper
$view