Filter/DateFormat.php
\Conjoon_Filter_DateFormat
Package: Conjoon\Filter
Parameters
Returns
- Parent(s)
- ?\Zend_Filter_Interface
- Author
- Thorsten Suckow-Homberg
- Category
- Filter
Properties
Methods

__construct(
$format
=
null, $inputFormat
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $format | ||
| $inputFormat |

filter(
mixed $value
)
:
integerDefined by Zend_Filter_Interface
Returns the date formatted for the format defined with the constructor. Will return the date for the 1970-1-1 if the passed argument was not in a valid date-format.
| Name | Type | Description |
|---|---|---|
| $value | mixed |
| Type | Description |
|---|---|
| integer |