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() |
Parameters
$options
array\Traversable
Get encoding
getEncoding() : string
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::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() |
Returns
Render a list of tags
render(mixed $tags) : string
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\DecoratorInterface::render() |
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::render() |
Parameters
$tags
mixed
Returns
string
Set encoding
setEncoding($value) : \Zend\Tag\Cloud\Decorator\HTMLCloud
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::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() |
Parameters
$options
array
Configuration for the decorator
Returns
Validate an HTML attribute name
validateAttributeName(string $name)
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::validateAttributeName() |
Parameters
$name
string
Exceptions
Validate an HTML element name
validateElementName(string $name)
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::validateElementName() |
Parameters
$name
string
Exceptions
Wrap html with tag
wrapTag(string $html) : string
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::wrapTag() |
Parameters
$html
string
Returns
string
Properties
<p>Encoding to use</p>
$encoding : string
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::$$encoding |
$escaper
$escaper : \Zend\Escaper\Escaper
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::$$escaper |
Option keys to skip when calling setOptions()
$skipOptions : array
Inherited
inherited_from |
\Zend\Tag\Cloud\Decorator\AbstractDecorator::$$skipOptions |