\Horde_Form_Type_hourminutesecond

Horde_Form_Type Class

Summary

Methods
Properties
Constants
getProperty()
__get()
setProperty()
__set()
init()
onSubmit()
isValid()
getTypeName()
getValues()
getInfo()
checktime()
getTimeOb()
getTimeParts()
emptyTimeArray()
about()
$_show_seconds
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_show_seconds

$_show_seconds : 

Type

Methods

getProperty()

getProperty(  $property) 

Parameters

$property

__get()

__get(  $property) 

Parameters

$property

setProperty()

setProperty(  $property,   $value) 

Parameters

$property
$value

__set()

__set(  $property,   $value) 

Parameters

$property
$value

init()

init(  $show_seconds = false) 

Initialize (kind of constructor) - Parameter list may vary on overloading

Parameters

$show_seconds

onSubmit()

onSubmit() 

isValid()

isValid(  $var,   $vars,   $value,   $message) 

Parameters

$var
$vars
$value
$message

getTypeName()

getTypeName() 

getValues()

getValues() 

getInfo()

getInfo(  $vars,   $var,   $info) 

Parameters

$vars
$var
$info

checktime()

checktime(  $hour,   $minute,   $second) 

Parameters

$hour
$minute
$second

getTimeOb()

getTimeOb(string  $time_in) : \Horde_Date

Return the time supplied as a Horde_Date object.

Parameters

string $time_in

Date 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).

Returns

\Horde_Date —

The time object.

getTimeParts()

getTimeParts(string  $time_in) : array

Return the time supplied split up into an array.

Parameters

string $time_in

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).

Returns

array —

Array with three elements - hour, minute and seconds.

emptyTimeArray()

emptyTimeArray(  $time) 

Parameters

$time

about()

about() 

Return info about field type.