Documentation

Horde_Form_Type_date extends Horde_Form_Type
in package

Horde_Form_Type Class

Table of Contents

$_format  : mixed
__get()  : mixed
__set()  : mixed
about()  : mixed
Return info about field type.
getAgo()  : string
getFormattedTime()  : mixed
getInfo()  : mixed
getProperty()  : mixed
getTypeName()  : mixed
getValues()  : mixed
init()  : mixed
Initialize a Set form type
isValid()  : mixed
onSubmit()  : mixed
setProperty()  : mixed

Properties

$_format

public mixed $_format

Methods

__get()

public __get(mixed $property) : mixed
Parameters
$property : mixed
Return values
mixed

__set()

public __set(mixed $property, mixed $value) : mixed
Parameters
$property : mixed
$value : mixed
Return values
mixed

about()

Return info about field type.

public about() : mixed
Return values
mixed

getAgo()

public getAgo(mixed $date) : string
Parameters
$date : mixed

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

Tags
static
Return values
string

getFormattedTime()

public getFormattedTime(mixed $timestamp[, mixed $format = null ][, mixed $showago = true ]) : mixed
Parameters
$timestamp : mixed
$format : mixed = null
$showago : mixed = true
Return values
mixed

getInfo()

public getInfo(mixed &$vars, mixed &$var, mixed &$info) : mixed
Parameters
$vars : mixed
$var : mixed
$info : mixed
Return values
mixed

getProperty()

public getProperty(mixed $property) : mixed
Parameters
$property : mixed
Return values
mixed

getTypeName()

public getTypeName() : mixed
Return values
mixed

getValues()

public getValues(mixed ...$params) : mixed
Parameters
$params : mixed
Return values
mixed

init()

Initialize a Set form type

public init(mixed ...$params) : mixed

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

Parameters
$params : mixed
Return values
mixed

isValid()

public isValid(mixed &$var, mixed &$vars, mixed $value, mixed &$message) : mixed
Parameters
$var : mixed
$vars : mixed
$value : mixed
$message : mixed
Return values
mixed

onSubmit()

public onSubmit(mixed ...$params) : mixed
Parameters
$params : mixed
Return values
mixed

setProperty()

public setProperty(mixed $property, mixed $value) : mixed
Parameters
$property : mixed
$value : mixed
Return values
mixed

Search results