Time
Time
Time
Interface for jQuery-timepicker http://jonthornton.github.io/jquery-timepicker/
- Full name: \Gibbon\Forms\Input\Time
- Parent class: \Gibbon\Forms\Input\TextField
Methods
- setFormat — Set the format to output time values (default ‘H:i’).
- chainedTo — Provide the ID of another time input to connect the input values.
- getLabelContext — Adds time format to the label description
Inherited from TextField
Inherited from Element
Inherited from Input
- setRow
- addValidationOption
- addValidation
- isValidatable
- hasValidation
- getValidationAsJSON
- getValidationOutput
Inherited from InputAttributesTrait
- setName
- getName
- setValue
- getValue
- loadFrom
- loadFromCSV
- setSize
- getSize
- isDisabled
- setDisabled
- getDisabled
- isRequired
- setRequired
- getRequired
- readonly
- setReadonly
- getReadonly
- setTabIndex
- getTabIndex
Inherited from Element
Inherited from BasicAttributesTrait
- setID
- getID
- setTitle
- getTitle
- setClass
- addClass
- removeClass
- getClass
- addData
- getData
- getAttributeString
setFormat
Set the format to output time values (default ‘H:i’).
Time::setFormat( string $format )
chainedTo
Provide the ID of another time input to connect the input values.
Time::chainedTo( string $chained ): self
Returns Self: This method can be chained.
getLabelContext
Adds time format to the label description
Time::getLabelContext( $label ): string|boolean
Return Value:
string|boolean