src/widget/PageHeader.php
protected function initOptions()
    {
        if(!$this->type){
            $this->type = self::TYPE_DEFAULT;
        }
        
        $this->options = array_merge([
            'class' => 'page-header',
        ], $this->options);
    }
protected function initOptions()
    {
        if(!$this->type){
            $this->type = self::TYPE_DEFAULT;
        }
        
        $this->options = array_merge([
            'class' => 'page-header',
        ], $this->options);
    }
protected function initOptions ( ) { if ( ! $ this -> type ) { $ this -> type = self :: TYPE_DEFAULT ; } $ this -> options = array_merge ( [ 'class' => 'page-header' , ] , $ this -> options ) ; }
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 .