Filter/DateFormat.php

Show: inherited
Table of Contents

\Conjoon_Filter_DateFormat

Package: Conjoon\Filter

Parent(s)
?\Zend_Filter_Interface
Author
Thorsten Suckow-Homberg  
Category
Filter  

Properties

Propertyprivatestring  $_format= '"F j, Y, g:i a"'

Default value"F j, Y, g:i a"Details
Type
string
Propertyprivatestring  $_inputFormat= 'null'

Default valuenullDetails
Type
string

Methods

methodpublic__construct(  $format = null,  $inputFormat = null ) : void

Parameters
Name Type Description
$format
$inputFormat
methodpublicfilter( mixed $value ) : integer

Defined 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.

Parameters
Name Type Description
$value mixed
Returns
Type Description
integer
Documentation was generated by DocBlox 0.18.1.