Model/Select/Expr/Date/Age.php

Classes 
Classes
Kwf_Model_Select_Expr_Date_Age

\Kwf_Model_Select_Expr_Date_Age

Implements
\Kwf_Model_Select_Expr_Interface
Methods
__construct
fromArray
getDate
getField
getResultType
toArray
validate

Description

calculate the age of a row in a model from $field to now or optionally to $_referenceDate

Methods

__construct

__construct(  $birthDateField,  $referenceDate = null ) :

Arguments
$birthDateField
$referenceDate
Details
visibility
public
final
false
static
false

fromArray

fromArray(  $data ) :
Arguments
$data
Details
visibility
public
final
false
static
true

getDate

getDate( ) :
Details
visibility
public
final
false
static
false

getField

getField( ) :
Details
visibility
public
final
false
static
false

getResultType

getResultType( ) :
Details
visibility
public
final
false
static
false

toArray

toArray( ) :
Details
visibility
public
final
false
static
false

validate

validate( ) :
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.