329. Class

329.1. Zend\Tag\Cloud\Decorator\AbstractDecorator

Abstract class for decorators

329.1.1. Methods

329.1.1.1. __construct

__construct()

Create a new decorator with options

Parameters:array|Traversable

329.1.1.2. setOptions

setOptions()

Set options from array

Parameters:array – Configuration for the decorator
Return type:AbstractTag

329.1.1.3. getEncoding

getEncoding()

Get encoding

Return type:string

329.1.1.4. setEncoding

setEncoding()

Set encoding

Parameters:string
Return type:HTMLCloud

329.1.1.5. setEscaper

setEscaper()

Set Escaper instance

Parameters:Escaper
Return type:HtmlCloud

329.1.1.6. getEscaper

getEscaper()

Retrieve Escaper instance

If none registered, instantiates and registers one using current encoding.

Return type:Escaper

329.1.1.7. validateElementName

validateElementName()

Validate an HTML element name

Parameters:string
Throws ExceptionInvalidElementNameException:
 

329.1.1.8. validateAttributeName

validateAttributeName()

Validate an HTML attribute name

Parameters:string
Throws ExceptionInvalidAttributeNameException:
 

329.1.1.9. wrapTag

wrapTag()