public function init()
    {
        parent::init();
        $this->initOptions();
        
        echo Html::beginTag($this->type, $this->options) . "\n";
    }
public function init()
    {
        parent::init();
        $this->initOptions();
        
        echo Html::beginTag($this->type, $this->options) . "\n";
    }
Initializes the widget.