PHP Class WhTimePicker

Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
Show file Open project: 2amigos/yiiwheels

Public Properties

Property Type Description
$events the JavaScript event handlers.
$htmlOptions the HTML attributes for the widget container.
$pluginOptions the options for the Bootstrap JavaScript plugin. Available options: template string 'dropdown' (default), Show picker in a dropdown 'modal', Show picker in a modal false, Don't show a widget minuteStep integer 15 Specify a step for the minute field. showSeconds boolean false Show the seconds field. secondStep integer 15 Specify a step for the second field. defaultTime string 'current' (default) Set to the current time. 'value' Set to inputs current value false Do not set a default time showMeridian boolean true (default) 12hr mode false24hr mode showInputs boolean true (default )Shows the text inputs in the widget. false Hide the text inputs in the widget disableFocus boolean false Disables the input from focusing. This is useful for touch screen devices that display a keyboard on input focus. modalBackdrop boolean false Show modal backdrop.

Public Methods

Method Description
init ( ) Initializes the widget.
registerClientScript ( ) Registers required javascript files
renderField ( ) Renders the field
run ( ) Runs the widget.

Method Details

init() public method

Initializes the widget.
public init ( )

registerClientScript() public method

Registers required javascript files

renderField() public method

Renders the field
public renderField ( )

run() public method

Runs the widget.
public run ( )

Property Details

$events public property

the JavaScript event handlers.
public $events

$htmlOptions public property

the HTML attributes for the widget container.
public $htmlOptions

$pluginOptions public property

the options for the Bootstrap JavaScript plugin. Available options: template string 'dropdown' (default), Show picker in a dropdown 'modal', Show picker in a modal false, Don't show a widget minuteStep integer 15 Specify a step for the minute field. showSeconds boolean false Show the seconds field. secondStep integer 15 Specify a step for the second field. defaultTime string 'current' (default) Set to the current time. 'value' Set to inputs current value false Do not set a default time showMeridian boolean true (default) 12hr mode false24hr mode showInputs boolean true (default )Shows the text inputs in the widget. false Hide the text inputs in the widget disableFocus boolean false Disables the input from focusing. This is useful for touch screen devices that display a keyboard on input focus. modalBackdrop boolean false Show modal backdrop.
public $pluginOptions