PHP Class WhDatePicker

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

Public Properties

Property Type Description
$events the JavaScript event handlers.
$pluginOptions the options for the Bootstrap JavaScript plugin.

Public Methods

Method Description
init ( ) Initializes the widget.
initOptions ( ) Initializes options
registerClientScript ( ) Registers required client script for bootstrap datepicker.
renderField ( ) Renders field
run ( ) Runs the widget.

Method Details

init() public method

Initializes the widget.
public init ( )

initOptions() public method

Initializes options
public initOptions ( )

registerClientScript() public method

Registers required client script for bootstrap datepicker.

renderField() public method

Renders field
public renderField ( )

run() public method

Runs the widget.
public run ( )

Property Details

$events public property

the JavaScript event handlers.
public $events

$pluginOptions public property

the options for the Bootstrap JavaScript plugin.
public $pluginOptions