Methods

__construct()

__construct(mixed $options) 
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::__construct()

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()
inherited_from \Zend\Filter\AbstractDateDropdown::__invoke()

Parameters

$value

mixed

Exceptions

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

Returns

mixed

Attempts to filter an array of date/time information to a formatted string.

filter(mixed $value) : mixed
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::filter()

Parameters

$value

mixed

Exceptions

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

Returns

mixed

Retrieve options representing object state

getOptions() : array
Inherited

inherited_from \Zend\Filter\AbstractFilter::getOptions()
inherited_from \Zend\Filter\AbstractDateDropdown::getOptions()

Returns

array

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : bool
Inherited

inherited_from \Zend\Filter\AbstractFilter::hasPcreUnicodeSupport()
inherited_from \Zend\Filter\AbstractDateDropdown::hasPcreUnicodeSupport()

Returns

bool

isNullOnAllEmpty()

isNullOnAllEmpty() : bool
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::isNullOnAllEmpty()

Returns

bool

isNullOnEmpty()

isNullOnEmpty() : bool
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::isNullOnEmpty()

Returns

bool

Reduce to a single value

reduce(string $soFar, string $value) : bool
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::reduce()

Parameters

$soFar

string

$value

string

Returns

bool

setNullOnAllEmpty()

setNullOnAllEmpty(bool $nullOnAllEmpty) : \Zend\Filter\self
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::setNullOnAllEmpty()

Parameters

$nullOnAllEmpty

bool

Returns

\Zend\Filter\self

setNullOnEmpty()

setNullOnEmpty(bool $nullOnEmpty) : \Zend\Filter\self
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::setNullOnEmpty()

Parameters

$nullOnEmpty

bool

Returns

\Zend\Filter\self

setOptions()

setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited

inherited_from \Zend\Filter\AbstractFilter::setOptions()
inherited_from \Zend\Filter\AbstractDateDropdown::setOptions()

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

\Zend\Filter\self

Ensures there are enough inputs in the array to properly format the date.

filterable($value) 
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::filterable()

Parameters

$value

Exceptions

\Zend\Filter\Exception\RuntimeException

isOptions()

isOptions(mixed $options) : bool
Inherited

inherited_from \Zend\Filter\AbstractFilter::isOptions()
inherited_from \Zend\Filter\AbstractDateDropdown::isOptions()

Parameters

$options

mixed

Returns

bool

 Properties

 

$expectedInputs

$expectedInputs : int

 

Year-Month-Day

$format : string

 

If true, the filter will return null if all date fields are empty

$nullOnAllEmpty : bool
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::$$nullOnAllEmpty
 

If true, the filter will return null if any date field is empty

$nullOnEmpty : bool
Inherited

inherited_from \Zend\Filter\AbstractDateDropdown::$$nullOnEmpty
 

Filter options

$options : array
Inherited

inherited_from \Zend\Filter\AbstractFilter::$$options
inherited_from \Zend\Filter\AbstractDateDropdown::$$options