HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbDateRangePicker Class Reference
Inheritance diagram for TbDateRangePicker:
Collaboration diagram for TbDateRangePicker:

Public Member Functions

 init ()
 run ()
 registerScript ($selector, $options=array(), $callback=null)
 registerClientScript ()

Public Attributes

 $form
 $selector
 $callback
 $options = array()
 $htmlOptions = array()

Private Member Functions

 setLocaleSettings ()
 setDaysOfWeekNames ()
 setMonthNames ()

Additional Inherited Members

- Protected Member Functions inherited from TbBaseInputWidget
 setDefaultPlaceholder ()

Detailed Description

Definition at line 20 of file TbDateRangePicker.php.

Member Function Documentation

TbDateRangePicker::init ( )

.init()

Initializes the widget.

Reimplemented from TbBaseInputWidget.

Definition at line 54 of file TbDateRangePicker.php.

Here is the call graph for this function:

TbDateRangePicker::registerClientScript ( )

.registerClientScript()

Registers required css js files

Definition at line 140 of file TbDateRangePicker.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbDateRangePicker::registerScript (   $selector,
  $options = array(),
  $callback = null 
)

Definition at line 89 of file TbDateRangePicker.php.

Here is the caller graph for this function:

TbDateRangePicker::run ( )

.run()

Runs the widget.

Definition at line 65 of file TbDateRangePicker.php.

Here is the call graph for this function:

TbDateRangePicker::setDaysOfWeekNames ( )
private

.setDaysOfWeekNames()

Definition at line 116 of file TbDateRangePicker.php.

Here is the caller graph for this function:

TbDateRangePicker::setLocaleSettings ( )
private

.setLocaleSettings()

If user did not provided the names of weekdays and months in $this->options['locale'] (which he should not care about anyway) then we populate this names from Yii's locales database.

This method works with the local properties directly, beware.

Definition at line 107 of file TbDateRangePicker.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbDateRangePicker::setMonthNames ( )
private

.setMonthNames()

Definition at line 126 of file TbDateRangePicker.php.

Here is the caller graph for this function:

Member Data Documentation

TbDateRangePicker::$callback

Definition at line 37 of file TbDateRangePicker.php.

TbDateRangePicker::$form

Definition at line 27 of file TbDateRangePicker.php.

TbDateRangePicker::$htmlOptions = array()

Definition at line 47 of file TbDateRangePicker.php.

TbDateRangePicker::$options = array()

Definition at line 42 of file TbDateRangePicker.php.

string TbDateRangePicker::$selector

Definition at line 32 of file TbDateRangePicker.php.


The documentation for this class was generated from the following file: