Horde_Form_Type_DateTime
extends Horde_Form_Type
in package
Date and time selection
Table of Contents
- $_date : mixed
- $_time : mixed
- __get() : mixed
- __set() : mixed
- checktime() : mixed
- emptyDateArray() : mixed
- emptyTimeArray() : mixed
- formatDate() : mixed
- getDateOb() : mixed
- getDateParts() : mixed
- getInfo() : mixed
- getTimeOb() : mixed
- getTimeParts() : mixed
- init() : mixed
- Return the date supplied as a Horde_Date object.
- isValid() : mixed
Properties
$_date
public
mixed
$_date
$_time
public
mixed
$_time
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 —checktime()
public
checktime(mixed $hour, mixed $minute, mixed $second) : mixed
Parameters
- $hour : mixed
- $minute : mixed
- $second : mixed
Return values
mixed —emptyDateArray()
public
emptyDateArray(mixed $date) : mixed
Parameters
- $date : mixed
Return values
mixed —emptyTimeArray()
public
emptyTimeArray(mixed $time) : mixed
Parameters
- $time : mixed
Return values
mixed —formatDate()
public
formatDate(mixed $date) : mixed
Parameters
- $date : mixed
Return values
mixed —getDateOb()
public
getDateOb(mixed $date_in) : mixed
Parameters
- $date_in : mixed
Return values
mixed —getDateParts()
public
getDateParts(mixed $date_in) : mixed
Parameters
- $date_in : mixed
Return values
mixed —getInfo()
public
getInfo(mixed &$vars, mixed &$var, mixed &$info) : mixed
Parameters
- $vars : mixed
- $var : mixed
- $info : mixed
Return values
mixed —getTimeOb()
public
getTimeOb(mixed $time_in) : mixed
Parameters
- $time_in : mixed
Return values
mixed —getTimeParts()
public
getTimeParts(mixed $time_in) : mixed
Parameters
- $time_in : mixed
Return values
mixed —init()
Return the date supplied as a Horde_Date object.
public
init([int $start_year = '' ][, int $end_year = '' ][, bool $picker = true ][, int $format_in = null ][, int $format_out = '%x' ][, bool $show_seconds = false ]) : mixed
Parameters
- $start_year : int = ''
-
The first available year for input.
- $end_year : int = ''
-
The last available year for input.
- $picker : bool = true
-
Do we show the DHTML calendar?
- $format_in : int = null
-
The format to use when sending the date for storage. Defaults to Unix epoch. Similar to the strftime() function.
- $format_out : int = '%x'
-
The format to use when displaying the date. Similar to the strftime() function.
- $show_seconds : bool = false
-
Include a form input for seconds.
Return values
mixed —isValid()
public
isValid(mixed $var, mixed $vars, mixed $value, mixed &$message) : mixed
Parameters
- $var : mixed
- $vars : mixed
- $value : mixed
- $message : mixed