Modal.php
public function init()
    {
        parent::init();

        $this->initOptions();

        echo $this->renderToggleButton() . "\n";
        echo Html::beginTag('div', $this->options) . "\n";
        echo Html::beginTag('div', ['class' => 'modal-content']) . "\n";
    }
public function init()
    {
        parent::init();

        $this->initOptions();

        echo $this->renderToggleButton() . "\n";
        echo Html::beginTag('div', $this->options) . "\n";
        echo Html::beginTag('div', ['class' => 'modal-content']) . "\n";
    }
public function init ( ) { parent :: init ( ) ; $ this -> initOptions ( ) ; echo $ this -> renderToggleButton ( ) . "\n" ; echo Html :: beginTag ( 'div' , $ this -> options ) . "\n" ; echo Html :: beginTag ( 'div' , [ 'class' => 'modal-content' ] ) . "\n" ; }
Initializes the widget.
Initializes the widget .