722. Class

722.1. Zend\Filter\StripTags

722.1.1. Methods

722.1.1.1. __construct

__construct()

Sets the filter options Allowed options are

‘allowTags’ => Tags which are allowed ‘allowAttribs’ => Attributes which are allowed ‘allowComments’ => Are comments allowed ?
Parameters:string|array|Traversable

722.1.1.2. getTagsAllowed

getTagsAllowed()

Returns the tagsAllowed option

Return type:array

722.1.1.3. setTagsAllowed

setTagsAllowed()

Sets the tagsAllowed option

Parameters:array|string
Return type:StripTags Provides a fluent interface

722.1.1.4. getAttributesAllowed

getAttributesAllowed()

Returns the attributesAllowed option

Return type:array

722.1.1.5. setAttributesAllowed

setAttributesAllowed()

Sets the attributesAllowed option

Parameters:array|string
Return type:StripTags Provides a fluent interface

722.1.1.6. filter

filter()

Defined by ZendFilterFilterInterface

Parameters:string
Return type:string

722.1.1.7. _filterTag

_filterTag()

Filters a single tag against the current option settings

Parameters:string
Return type:string

722.1.2. Constants

722.1.2.1. UNIQUE_ID_PREFIX

Unique ID prefix used for allowing comments