package Default
inherited_from \Zend\Filter\AbstractFilter

 Methods

__construct()

__construct(null|array|\Traversable $options = null

Parameters

$options

nullarray\Traversable

Invoke filter as a command

__invoke(mixed $value) : mixed
Inherited

Proxies to \filter()

Parameters

$value

mixed

Exceptions

\Zend\Filter\Exception\ExceptionInterface If filtering $value is impossible

Returns

mixed

{@inheritDoc}

filter($value) 

Will return null if $value is present in the black-list. If $value is NOT present then it will return $value.

Parameters

$value

Get the list of items to black-list

getList() : array

Returns

array

Retrieve options representing object state

getOptions() : array
Inherited

Returns

array

Returns whether the in_array() call should be "strict" or not. See in_array docs.

getStrict() : boolean

Returns

boolean

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : boolean
InheritedStatic
deprecated Since 2.1.0

Returns

boolean

Set the list of items to black-list.

setList(array|\Traversable $list = array()

Parameters

$list

array\Traversable

setOptions()

setOptions(array|\Traversable $options) : \Zend\Filter\Blacklist
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

\Zend\Filter\Blacklist

Determine whether the in_array() call should be "strict" or not. See in_array docs.

setStrict(boolean $strict = true

Parameters

$strict

boolean

isOptions()

isOptions(mixed $options) : boolean
InheritedStatic

Parameters

$options

mixed

Returns

boolean

 Properties

 

$list

$list : array

Default

array()
 

Filter options

$options : array

Default

array()
 

$strict

$strict : boolean

Default

false