\Horde_Form_Type_date

Horde_Form_Type Class

Summary

Methods
Properties
Constants
getProperty()
__get()
setProperty()
__set()
init()
onSubmit()
isValid()
getTypeName()
getValues()
getInfo()
getAgo()
getFormattedTime()
about()
$_format
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_format

$_format : 

Type

Methods

getProperty()

getProperty(  $property) 

Parameters

$property

__get()

__get(  $property) 

Parameters

$property

setProperty()

setProperty(  $property,   $value) 

Parameters

$property
$value

__set()

__set(  $property,   $value) 

Parameters

$property
$value

init()

init(  $format = '%a %d %B') 

Initialize (kind of constructor) - Parameter list may vary on overloading

Parameters

$format

onSubmit()

onSubmit() 

isValid()

isValid(  $var,   $vars,   $value,   $message) 

Parameters

$var
$vars
$value
$message

getTypeName()

getTypeName() 

getValues()

getValues() 

getInfo()

getInfo(  $vars,   $var,   $info) 

Parameters

$vars
$var
$info

getAgo()

getAgo(mixed  $date) : string

Parameters

mixed $date

The date to calculate the difference from. Can be either a timestamp integer value, or an array with date parts: 'day', 'month', 'year'.

Returns

string

getFormattedTime()

getFormattedTime(  $timestamp,   $format = null,   $showago = true) 

Parameters

$timestamp
$format
$showago

about()

about() 

Return info about field type.