Methods
__construct()
__construct(mixed $options)
Parameters
$options
mixed
If array or Traversable, passes value to setOptions().
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
Attempts to filter an array of date/time information to a formatted
string.
filter(mixed $value) : mixed
Parameters
$value
mixed
Exceptions
Returns
mixed
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
isNullOnAllEmpty()
isNullOnAllEmpty() : bool
isNullOnEmpty()
isNullOnEmpty() : bool
Reduce to a single value
reduce(string $soFar, string $value) : bool
Parameters
$soFar
string
$value
string
Returns
bool
setNullOnAllEmpty()
setNullOnAllEmpty(bool $nullOnAllEmpty) : \Zend\Filter\self
Parameters
$nullOnAllEmpty
bool
Returns
\Zend\Filter\self
setNullOnEmpty()
setNullOnEmpty(bool $nullOnEmpty) : \Zend\Filter\self
Parameters
$nullOnEmpty
bool
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
Ensures there are enough inputs in the array to properly format the date.
filterable($value)
Parameters
$value
Exceptions
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
If true, the filter will return null if all date fields are empty
$nullOnAllEmpty : bool
If true, the filter will return null if any date field is empty
$nullOnEmpty : bool
Filter options
$options : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::$$options |