Methods
Create a new decorator with options
__construct(array | \Traversable $options)
Inherited
Allow passing options to the constructor.
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::__construct() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::__construct() |
Parameters
$options
array\Traversable
Get encoding
getEncoding() : string
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::getEncoding() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::getEncoding() |
Returns
string
Retrieve Escaper instance
getEscaper() : \Zend\Escaper\Escaper
Inherited
If none registered, instantiates and registers one using current encoding.
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::getEscaper() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::getEscaper() |
Returns
Get tag separator
getSeparator() : string
Defined by Zend\Tag\Cloud\Decorator\Cloud
render(array $tags) : string
Parameters
$tags
array
Exceptions
Returns
string
Set encoding
setEncoding($value) : \Zend\Tag\Cloud\Decorator\HTMLCloud
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::setEncoding() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::setEncoding() |
Parameters
Returns
\Zend\Tag\Cloud\Decorator\HTMLCloud
Set options from array
setOptions(array $options) : \Zend\Tag\Cloud\Decorator\AbstractTag
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::setOptions() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::setOptions() |
Parameters
$options
array
Configuration for the decorator
Returns
Set the separator between the single tags
setSeparator($separator) : \Zend\Tag\Cloud\Decorator\HTMLCloud
Parameters
Returns
\Zend\Tag\Cloud\Decorator\HTMLCloud
Validate an HTML attribute name
validateAttributeName(string $name)
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::validateAttributeName() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::validateAttributeName() |
Parameters
$name
string
Exceptions
Validate an HTML element name
validateElementName(string $name)
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::validateElementName() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::validateElementName() |
Parameters
$name
string
Exceptions
wrapTag()
wrapTag($html)
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::wrapTag() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::wrapTag() |
Parameters
$html
Properties
<p>Encoding to use</p>
$encoding : string
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::$$encoding |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::$$encoding |
$escaper
$escaper : \Zend\Escaper\Escaper
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::$$escaper |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::$$escaper |
Separator for the single tags
$separator : string
Option keys to skip when calling setOptions()
$skipOptions : array
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::$$skipOptions |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractCloud::$$skipOptions |