Fixes issue #234: Added Html::addCssClass() and removeCssClass().

This commit is contained in:
Qiang Xue
2013-06-11 16:35:14 -04:00
parent 0b8d239ad3
commit 17b1e5d2fc
15 changed files with 104 additions and 50 deletions

View File

@ -140,7 +140,7 @@ class Alert extends Widget
'class' => 'fade in',
), $this->options);
$this->addCssClass($this->options, 'alert');
Html::addCssClass($this->options, 'alert');
if ($this->closeButton !== null) {
$this->closeButton = array_merge(array(