Documentation

Horde_Core_Form_Type_Date extends Horde_Core_Form_Type
in package

Date

Table of Contents

$_format  : mixed
$_properties  : mixed
__construct()  : mixed
Type constructor. Takes a hash of key/value parameters.
__get()  : mixed
To get the 'escape' property of a type: $escape = $type->escape; If the property is not set this will return null.
__isset()  : mixed
To check if a type has a property named 'escape': if (isset($type->escape)) { ... }
__set()  : mixed
To set the 'escape' property of a type to true: $type->escape = true;
__unset()  : mixed
To unset a Type property named 'escape': unset($type->escape);
getAgo()  : mixed
getFormattedTime()  : mixed
getInfo()  : mixed
isValid()  : mixed
onSubmit()  : mixed

Properties

$_format

protected mixed $_format = '%a %d %B'

$_properties

protected mixed $_properties = array()

Methods

__construct()

Type constructor. Takes a hash of key/value parameters.

public __construct([array<string|int, mixed> $properties = array() ]) : mixed
Parameters
$properties : array<string|int, mixed> = array()

Any type properties to initialize.

Return values
mixed

__get()

To get the 'escape' property of a type: $escape = $type->escape; If the property is not set this will return null.

public __get(string $property) : mixed
Parameters
$property : string

The property to retrieve.

Return values
mixed

__isset()

To check if a type has a property named 'escape': if (isset($type->escape)) { ... }

public __isset(string $property) : mixed
Parameters
$property : string

Property name to check existance of.

Return values
mixed

__set()

To set the 'escape' property of a type to true: $type->escape = true;

public __set(string $property, mixed $value) : mixed
Parameters
$property : string

The property name to set.

$value : mixed

The property value.

Return values
mixed

__unset()

To unset a Type property named 'escape': unset($type->escape);

public __unset(string $property) : mixed
Parameters
$property : string

Property name to unset.

Return values
mixed

getAgo()

public static getAgo(mixed $timestamp) : mixed
Parameters
$timestamp : mixed
Return values
mixed

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

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
Return values
mixed

Search results