yii\bootstrap\BootstrapWidgetTrait::init PHP Метод

init() публичный Метод

This method will register the bootstrap asset bundle. If you override this method, make sure you call the parent implementation first.
public init ( )
    public function init()
    {
        parent::init();
        if (!isset($this->options['id'])) {
            $this->options['id'] = $this->getId();
        }
    }