Methods
Class constructor
__construct(bool | \Traversable $existsOrOptions)
Parameters
$existsOrOptions
bool\Traversable
Options to set
Invoke filter as a command
__invoke(mixed $value) : mixed
Inherited
Proxies to filter()
inherited_from |
\Zend\Filter\AbstractFilter::__invoke() |
Parameters
$value
mixed
Exceptions
Returns
mixed
Defined by Zend\Filter\FilterInterface
filter(string $value) : string | mixed
Returns realpath($value)
If the value provided is non-scalar, the value will remain unfiltered
Parameters
$value
string
Exceptions
Returns
string
mixed
Returns true if the filtered path must exist
getExists() : bool
Retrieve options representing object state
getOptions() : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::getOptions() |
Returns
array
hasPcreUnicodeSupport()
hasPcreUnicodeSupport() : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
Returns
bool
Sets if the path has to exist
TRUE when the path must exist
FALSE when not existing paths can be given
setExists(bool $flag) : \Zend\Filter\self
Parameters
$flag
bool
Path must exist
Returns
\Zend\Filter\self
setOptions()
setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::setOptions() |
Parameters
$options
array\Traversable
Exceptions
Returns
\Zend\Filter\self
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
Filter options
$options : array