PHP Класс WhTimePicker

Автор: Antonio Ramirez ([email protected])
Наследование: extends CInputWidget
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
init ( ) Initializes the widget.
registerClientScript ( ) Registers required javascript files
renderField ( ) Renders the field
run ( ) Runs the widget.

Описание методов

init() публичный Метод

Initializes the widget.
public init ( )

registerClientScript() публичный Метод

Registers required javascript files

renderField() публичный Метод

Renders the field
public renderField ( )

run() публичный Метод

Runs the widget.
public run ( )

Описание свойств

$events публичное свойство

the JavaScript event handlers.
public $events

$htmlOptions публичное свойство

the HTML attributes for the widget container.
public $htmlOptions

$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 $pluginOptions