src/modules/Dropdown.php
public function init()
    {
        parent::init();
        Html::addCssClass($this->options, 'dropdown');
        Html::addCssClass($this->itemsOptions, 'menu');
    }
public function init()
    {
        parent::init();
        Html::addCssClass($this->options, 'dropdown');
        Html::addCssClass($this->itemsOptions, 'menu');
    }
public function init ( ) { parent :: init ( ) ; Html :: addCssClass ( $ this -> options , 'dropdown' ) ; Html :: addCssClass ( $ this -> itemsOptions , 'menu' ) ; }
Initializes the widget.
If you override this method, make sure you call the parent implementation first.
Initializes the widget . If you override this method make sure you call the parent implementation first .