src/widget/SmallBox.php
protected function initOptions()
    {
        if(!$this->color){
            $this->color = 'bg-aqua';
        }
        $this->options = array_merge([
            'class' => 'col-lg-3 col-xs-6',
        ], $this->options);
        //Html::addCssClass($this->options, 'modal');
    }
protected function initOptions()
    {
        if(!$this->color){
            $this->color = 'bg-aqua';
        }
        $this->options = array_merge([
            'class' => 'col-lg-3 col-xs-6',
        ], $this->options);
        //Html::addCssClass($this->options, 'modal');
    }
protected function initOptions ( ) { if ( ! $ this -> color ) { $ this -> color = 'bg-aqua' ; } $ this -> options = array_merge ( [ 'class' => 'col-lg-3 col-xs-6' , ] , $ this -> options ) ; //Html::addCssClass($this->options, 'modal'); }
Initializes the widget options.
This method sets the default values for various options.
Initializes the widget options . This method sets the default values for various options .