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

Public Member Functions

 init ()
 run ()

Public Attributes

 $label
 $encodeLabel = true
 $htmlOptions = array()
- Public Attributes inherited from TbWidget
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

Additional Inherited Members

- Protected Member Functions inherited from TbWidget
 isValidContext ($cotext=false)
 getContextClass ($context=false)
- Static Protected Member Functions inherited from TbWidget
static addCssClass (&$htmlOptions, $class)

Detailed Description

Definition at line 17 of file TbLabel.php.

Member Function Documentation

TbLabel::init ( )

.init()

At the start of widget we collect the attributes for badge tag.

Definition at line 39 of file TbLabel.php.

Here is the call graph for this function:

TbLabel::run ( )

.run()

Upon completing the badge we write the span tag with collected attributes to document.

Definition at line 65 of file TbLabel.php.

Member Data Documentation

TbLabel::$encodeLabel = true

Definition at line 27 of file TbLabel.php.

TbLabel::$htmlOptions = array()

Definition at line 32 of file TbLabel.php.

TbLabel::$label

Definition at line 22 of file TbLabel.php.


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