Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

array
$_attributesAllowed= 'array()'
Array of allowed attributes for all allowed tags
Attributes stored here are allowed for all of the allowed tags.
array()
Details
array
$_tagsAllowed= 'array()'
Array of allowed tags and allowed attributes for each allowed tag
Tags are stored in the array keys, and the array values are themselves arrays of the attributes allowed for the corresponding tag.
array()
Details
__construct(
string|array|\Zend_Config $options
=
null
)
:
void
Sets the filter options Allowed options are 'allowTags' => Tags which are allowed 'allowAttribs' => Attributes which are allowed 'allowComments' => Are comments allowed ?
Name | Type | Description |
---|---|---|
$options | string|array|\Zend_Config |

_filterTag(
string $tag
)
:
string
Filters a single tag against the current option settings
Name | Type | Description |
---|---|---|
$tag | string |
Type | Description |
---|---|
string |

filter(
string $value
)
:
string
Defined by Zend_Filter_Interface
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
string |

getCommentsAllowed(
)
:
bool
Returns the commentsAllowed option
This setting is now deprecated and ignored internally.
Type | Description |
---|---|
bool |

setAttributesAllowed(
array|string $attributesAllowed
)
:
\Zend_Filter_StripTags
Sets the attributesAllowed option
Name | Type | Description |
---|---|---|
$attributesAllowed | array|string |
Type | Description |
---|---|
\Zend_Filter_StripTags | Provides a fluent interface |

setCommentsAllowed(
boolean $commentsAllowed
)
:
\Zend_Filter_StripTags
Sets the commentsAllowed option
This setting is now deprecated and ignored internally.
Name | Type | Description |
---|---|---|
$commentsAllowed | boolean |
Type | Description |
---|---|
\Zend_Filter_StripTags | Provides a fluent interface |

setTagsAllowed(
array|string $tagsAllowed
)
:
\Zend_Filter_StripTags
Sets the tagsAllowed option
Name | Type | Description |
---|---|---|
$tagsAllowed | array|string |
Type | Description |
---|---|
\Zend_Filter_StripTags | Provides a fluent interface |