Browse Source

better contract for BootstrapWidgetTrait

tags/2.0.6
Carsten Brandt 9 years ago
parent
commit
2ce9f64cf4
  1. 8
      BootstrapWidgetTrait.php

8
BootstrapWidgetTrait.php

@ -98,4 +98,10 @@ trait BootstrapWidgetTrait
$this->getView()->registerJs(implode("\n", $js)); $this->getView()->registerJs(implode("\n", $js));
} }
} }
}
/**
* @return \yii\web\View the view object that can be used to render views or view files.
* @see yii\base\Widget::getView()
*/
abstract function getView();
}

Loading…
Cancel
Save