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

Public Attributes

const CTX_DEFAULT = 'default'
const CTX_PRIMARY = 'primary'
const CTX_SUCCESS = 'success'
const CTX_INFO = 'info'
const CTX_WARNING = 'warning'
const CTX_DANGER = 'danger'
const CTX_DEFAULT_CLASS = 'default'
const CTX_PRIMARY_CLASS = 'primary'
const CTX_SUCCESS_CLASS = 'success'
const CTX_INFO_CLASS = 'info'
const CTX_WARNING_CLASS = 'warning'
const CTX_DANGER_CLASS = 'danger'
 $context = self::CTX_DEFAULT

Protected Member Functions

 isValidContext ($cotext=false)
 getContextClass ($context=false)

Static Protected Member Functions

static addCssClass (&$htmlOptions, $class)

Detailed Description

Author
amrbedair
Since
v.4.0.0

Definition at line 11 of file TbWidget.php.

Member Function Documentation

static TbWidget::addCssClass ( $htmlOptions,
  $class 
)
staticprotected

Utility function for appending class names for a generic $htmlOptions array.

Parameters
array$htmlOptions
string$class

Definition at line 39 of file TbWidget.php.

Here is the caller graph for this function:

TbWidget::getContextClass (   $context = false)
protected
Parameters
string$context

Definition at line 65 of file TbWidget.php.

Here is the caller graph for this function:

TbWidget::isValidContext (   $cotext = false)
protected
Parameters
string$context

Reimplemented in TbAlert, and TbProgress.

Definition at line 54 of file TbWidget.php.

Here is the caller graph for this function:

Member Data Documentation

TbWidget::$context = self::CTX_DEFAULT

Definition at line 31 of file TbWidget.php.

const TbWidget::CTX_DANGER = 'danger'

Definition at line 18 of file TbWidget.php.

const TbWidget::CTX_DANGER_CLASS = 'danger'

Definition at line 25 of file TbWidget.php.

const TbWidget::CTX_DEFAULT = 'default'

Definition at line 13 of file TbWidget.php.

const TbWidget::CTX_DEFAULT_CLASS = 'default'

Definition at line 20 of file TbWidget.php.

const TbWidget::CTX_INFO = 'info'

Definition at line 16 of file TbWidget.php.

const TbWidget::CTX_INFO_CLASS = 'info'

Definition at line 23 of file TbWidget.php.

const TbWidget::CTX_PRIMARY = 'primary'

Definition at line 14 of file TbWidget.php.

const TbWidget::CTX_PRIMARY_CLASS = 'primary'

Definition at line 21 of file TbWidget.php.

const TbWidget::CTX_SUCCESS = 'success'

Definition at line 15 of file TbWidget.php.

const TbWidget::CTX_SUCCESS_CLASS = 'success'

Definition at line 22 of file TbWidget.php.

const TbWidget::CTX_WARNING = 'warning'

Definition at line 17 of file TbWidget.php.

const TbWidget::CTX_WARNING_CLASS = 'warning'

Definition at line 24 of file TbWidget.php.


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