HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbSelect2 Class Reference

Public Member Functions

 init ()
 run ()
 registerClientScript ($id)

Public Attributes

 $form
 $data = array()
 $events = array()
 $asDropDownList = true
 $val
 $options
 $readonly = false
 $disabled = false

Private Member Functions

 setDefaultWidthIfEmpty ()
 normalizeData ()
 addEmptyItemIfPlaceholderDefined ()
 normalizeOptions ()
 prependDataWithEmptyItem ()

Detailed Description

Definition at line 17 of file TbSelect2.php.

Member Function Documentation

TbSelect2::addEmptyItemIfPlaceholderDefined ( )
private

Definition at line 175 of file TbSelect2.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbSelect2::init ( )

.init()

Initializes the widget.

Definition at line 67 of file TbSelect2.php.

Here is the call graph for this function:

TbSelect2::normalizeData ( )
private

Definition at line 169 of file TbSelect2.php.

Here is the caller graph for this function:

TbSelect2::normalizeOptions ( )
private

Definition at line 184 of file TbSelect2.php.

Here is the caller graph for this function:

TbSelect2::prependDataWithEmptyItem ( )
private

Definition at line 191 of file TbSelect2.php.

Here is the caller graph for this function:

TbSelect2::registerClientScript (   $id)

.registerClientScript()

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

Definition at line 127 of file TbSelect2.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbSelect2::run ( )

.run()

Runs the widget.

Definition at line 91 of file TbSelect2.php.

Here is the call graph for this function:

TbSelect2::setDefaultWidthIfEmpty ( )
private

Definition at line 162 of file TbSelect2.php.

Here is the caller graph for this function:

Member Data Documentation

TbSelect2::$asDropDownList = true

Definition at line 38 of file TbSelect2.php.

TbSelect2::$data = array()

Definition at line 28 of file TbSelect2.php.

TbSelect2::$disabled = false

Definition at line 60 of file TbSelect2.php.

TbSelect2::$events = array()

Definition at line 33 of file TbSelect2.php.

TbSelect2::$form

Definition at line 24 of file TbSelect2.php.

TbSelect2::$options

Definition at line 48 of file TbSelect2.php.

TbSelect2::$readonly = false

Definition at line 54 of file TbSelect2.php.

TbSelect2::$val

Definition at line 43 of file TbSelect2.php.


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