Пример #1
0
 public function __construct($cssClasses = null)
 {
     if ($cssClasses === null) {
         $cssClasses = array('success' => 'alert alert-success', 'notice' => 'alert alert-info', 'warning' => 'alert alert-warning', 'error' => 'alert alert-danger');
     }
     parent::__construct($cssClasses);
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct(['notice' => 'alert alert-info', 'success' => 'alert alert-success', 'warning' => 'alert alert-warning', 'error' => 'alert alert-danger']);
 }