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

Public Member Functions

 init ()
 run ()
 renderContent ($id, $name)
 registerClientScript ($id)

Public Attributes

 $form
 $suggestions = array()
 $events
 $restrictTo
 $tagData = array()
 $popoverData
 $exclude = array()
 $displayPopovers
 $tagClass = 'btn-success'
 $promptText = 'Please, type in your tags...'

Protected Attributes

 $options = array()

Detailed Description

Definition at line 18 of file TbTags.php.

Member Function Documentation

TbTags::init ( )

.init()

Initializes the widget.

Definition at line 117 of file TbTags.php.

TbTags::registerClientScript (   $id)

.registerClientScript()

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

Parameters
string$id

Definition at line 191 of file TbTags.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbTags::renderContent (   $id,
  $name 
)

.renderContent()

Renders required HTML tags

Parameters
integer$id
string$name
Returns
string with HTML tags

Definition at line 158 of file TbTags.php.

Here is the caller graph for this function:

TbTags::run ( )

.run()

Runs the widget.

Definition at line 140 of file TbTags.php.

Here is the call graph for this function:

Member Data Documentation

TbTags::$displayPopovers

Definition at line 94 of file TbTags.php.

TbTags::$events
Initial value:
array(
'whenAddingTag' => null,
'tagRemoved' => null,
'definePopover' => null,
'exclude' => null,
'pressedReturn' => null,
'pressedDelete' => null,
'pressedDown' => null,
'pressedUp' => null,
)

Definition at line 50 of file TbTags.php.

TbTags::$exclude = array()

Definition at line 89 of file TbTags.php.

TbTags::$form

Definition at line 26 of file TbTags.php.

TbTags::$options = array()
protected

Definition at line 110 of file TbTags.php.

TbTags::$popoverData

Definition at line 84 of file TbTags.php.

TbTags::$promptText = 'Please, type in your tags...'

Definition at line 105 of file TbTags.php.

TbTags::$restrictTo

Definition at line 72 of file TbTags.php.

TbTags::$suggestions = array()

Definition at line 34 of file TbTags.php.

TbTags::$tagClass = 'btn-success'

Definition at line 100 of file TbTags.php.

TbTags::$tagData = array()

Definition at line 77 of file TbTags.php.


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