Zend\Tag\Cloud\Decorator\HtmlCloud
Simple HTML decorator for clouds
Synopsis
class HtmlCloud
extends AbstractCloud
{
- // members
- protected array $htmlTags;
- protected string $separator;
- // Inherited members from AbstractDecorator
- protected string $encoding;
- protected Escaper $escaper;
- protected array $skipOptions;
- // methods
- public HTMLCloud setHTMLTags()
- public array getHTMLTags()
- public HTMLCloud setSeparator()
- public string getSeparator()
- public string render()
- // Inherited methods from AbstractDecorator
- public void __construct()
- public AbstractTag setOptions()
- public string getEncoding()
- public HTMLCloud setEncoding()
- public HtmlCloud setEscaper()
- public Escaper getEscaper()
- protected void validateElementName()
- protected void validateAttributeName()
- protected void wrapTag()
Hierarchy
Members
protected
- $encoding — string
- $escaper — Zend\Escaper\Escaper
- $htmlTags
—
array
List of HTML tags - $separator
—
string
Separator for the single tags - $skipOptions
—
array
Option keys to skip when calling setOptions()
Methods
public
- getHTMLTags() — Retrieve HTML tag map
- getSeparator() — Get tag separator
- render() — Defined by Zend\Tag\Cloud\Decorator\Cloud
- setHTMLTags() — Set the HTML tags surrounding all tags
- setSeparator() — Set the separator between the single tags
Inherited from Zend\Tag\Cloud\Decorator\AbstractDecorator
protected
- validateAttributeName() — Validate an HTML attribute name
- validateElementName() — Validate an HTML element name
- wrapTag()
public
- getEncoding() — Get encoding
- getEscaper() — Retrieve Escaper instance
- setEncoding() — Set encoding
- setEscaper() — Set Escaper instance
- setOptions() — Set options from array