Detailed Description
File: Dataface/converters/date.php Author: Steve Hannah <shannah@sfu.ca> Created: October 19, 2005 Description: ------------- Utility functions for converting dates from one format to another.
Definition at line 29 of file date.php.
Member Function Documentation
static date_to_string |
( |
$ |
value | ) |
[static] |
Convert a date array to a string. Can be called statically.
Definition at line 155 of file date.php.
static datetime_to_string |
( |
$ |
value | ) |
[static] |
Converts a datetime array to a string.
Definition at line 166 of file date.php.
static inRange |
( |
$ |
date | ) |
[static] |
static isTimeStamp |
( |
$ |
value | ) |
[static] |
Returns true of the given value is a timestamp.
Definition at line 144 of file date.php.
static parseDate |
( |
$ |
value | ) |
[static] |
Converts a quickform date field value as returned by $element->getValue() to a date array that can be stored in a Dataface_Table object.
Definition at line 59 of file date.php.
static qf2Table |
( |
$ |
value | ) |
[static] |
Specifically parses a value from a quickform date element to be in the format accepted by a Dataface_Table object date field.
Definition at line 45 of file date.php.
static qf2UnixTimestamp |
( |
$ |
value | ) |
[static] |
Converts a quickform date field value as returned by $element->getValue() to a unix timestamp.
Definition at line 35 of file date.php.
static time_to_string |
( |
$ |
value | ) |
[static] |
Converts a time array to a string.
Definition at line 179 of file date.php.
static timestamp_to_string |
( |
$ |
value | ) |
[static] |
Converts a timestamp array to a string.
Definition at line 189 of file date.php.
The documentation for this class was generated from the following file: