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.
TbWidget::getContextClass |
( |
|
$context = false | ) |
|
|
protected |
TbWidget::isValidContext |
( |
|
$cotext = false | ) |
|
|
protected |
Member Data Documentation
TbWidget::$context = self::CTX_DEFAULT |
const TbWidget::CTX_DANGER = 'danger' |
const TbWidget::CTX_DANGER_CLASS = 'danger' |
const TbWidget::CTX_DEFAULT = 'default' |
const TbWidget::CTX_DEFAULT_CLASS = 'default' |
const TbWidget::CTX_INFO = 'info' |
const TbWidget::CTX_INFO_CLASS = 'info' |
const TbWidget::CTX_PRIMARY = 'primary' |
const TbWidget::CTX_PRIMARY_CLASS = 'primary' |
const TbWidget::CTX_SUCCESS = 'success' |
const TbWidget::CTX_SUCCESS_CLASS = 'success' |
const TbWidget::CTX_WARNING = 'warning' |
const TbWidget::CTX_WARNING_CLASS = 'warning' |
The documentation for this class was generated from the following file: