Property | Type | Description | |
---|---|---|---|
$_show_seconds |
Method | Description | |
---|---|---|
about ( ) | Return info about field type. | |
checktime ( $hour, $minute, $second ) | ||
emptyTimeArray ( $time ) | ||
getTimeOb ( string $time_in ) : Horde_Date | Return the time supplied as a Horde_Date object. | |
getTimeParts ( string $time_in ) : array | Return the time supplied split up into an array. | |
init ( $show_seconds = false ) | ||
isValid ( &$var, &$vars, $value, &$message ) |
public getTimeParts ( string $time_in ) : array | ||
$time_in | string | Time in one of the three formats supported by Horde_Form and Horde_Date (ISO format YYYY-MM-DD HH:MM:SS, timestamp YYYYMMDDHHMMSS and UNIX epoch). |
return | array | Array with three elements - hour, minute and seconds. |