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

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 TbBadge.php.

Member Function Documentation

TbBadge::init ( )

.init()

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

Definition at line 39 of file TbBadge.php.

Here is the call graph for this function:

TbBadge::run ( )

.run()

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

Definition at line 65 of file TbBadge.php.

Member Data Documentation

TbBadge::$encodeLabel = true

Definition at line 27 of file TbBadge.php.

TbBadge::$htmlOptions = array()

Definition at line 32 of file TbBadge.php.

TbBadge::$label

Definition at line 22 of file TbBadge.php.


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