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

Public Member Functions

 init ()

Public Attributes

const CTX_ERROR = 'error'
const CTX_ERROR_CLASS = 'danger'
 $alerts
 $closeText = '×'
 $fade = true
 $events = array()
 $htmlOptions = array()
 $userComponentId = 'user'
- 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

Protected Member Functions

 renderSingleAlert ($alert, $context, $alertText)
 isValidContext ($context=false)
- Protected Member Functions inherited from TbWidget
 getContextClass ($context=false)

Static Protected Attributes

static $_containerId = 0

Additional Inherited Members

- Static Protected Member Functions inherited from TbWidget
static addCssClass (&$htmlOptions, $class)

Detailed Description

Definition at line 19 of file TbAlert.php.

Member Function Documentation

TbAlert::init ( )

.init()

Initializes the widget.

Definition at line 91 of file TbAlert.php.

TbAlert::isValidContext (   $context = false)
protected

only these are allowed for alerts

Reimplemented from TbWidget.

Definition at line 220 of file TbAlert.php.

Here is the caller graph for this function:

TbAlert::renderSingleAlert (   $alert,
  $context,
  $alertText 
)
protected
Parameters
$alert
$type
$alertText

Definition at line 171 of file TbAlert.php.

Here is the call graph for this function:

Member Data Documentation

TbAlert::$_containerId = 0
staticprotected

Definition at line 84 of file TbAlert.php.

TbAlert::$alerts

Definition at line 46 of file TbAlert.php.

TbAlert::$closeText = '×'

Definition at line 54 of file TbAlert.php.

TbAlert::$events = array()

Definition at line 69 of file TbAlert.php.

TbAlert::$fade = true

Definition at line 59 of file TbAlert.php.

TbAlert::$htmlOptions = array()

Definition at line 74 of file TbAlert.php.

TbAlert::$userComponentId = 'user'

Definition at line 82 of file TbAlert.php.

const TbAlert::CTX_ERROR = 'error'

Definition at line 21 of file TbAlert.php.

const TbAlert::CTX_ERROR_CLASS = 'danger'

Definition at line 22 of file TbAlert.php.


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