PHP Class TbDatePicker

Author: : antonio ramirez ([email protected])
Inheritance: extends CInputWidget
Show file Open project: yinhe/yincart Class Usage Examples

Public Properties

Property Type Description
$events the JavaScript event handlers.
$form when created via TbActiveForm. This attribute is set to the form that renders the widget
$options the options for the Bootstrap JavaScript plugin.

Public Methods

Method Description
init ( ) ### .init()
registerClientScript ( ) ### .registerClientScript()
registerLanguageScript ( )
run ( ) ### .run()

Method Details

init() public method

Initializes the widget.
public init ( )

registerClientScript() public method

Registers required client script for bootstrap datepicker. It is not used through bootstrap->registerPlugin in order to attach events if any

registerLanguageScript() public method

run() public method

Runs the widget.
public run ( )

Property Details

$events public property

the JavaScript event handlers.
public $events

$form public property

when created via TbActiveForm. This attribute is set to the form that renders the widget
public $form

$options public property

the options for the Bootstrap JavaScript plugin.
public $options