bootstrap\BootstrapWidgetTrait registerPlugin()

registerPlugin() protected method Registers a specific Bootstrap plugin and the related events protected void registerPlugin ( $name )$name string The name of the Bootstrap plugin

bootstrap\BootstrapWidgetTrait registerClientEvents()

registerClientEvents() protected method (available since version 2.0.2) Registers JS event handlers that are listed in $clientEvents. protected void registerClientEvents ( )

bootstrap\BootstrapWidgetTrait init()

init() public method Initializes the widget. This method will register the bootstrap asset bundle. If you override this method, make sure you call the parent implementation first. public void init ( )

bootstrap\BootstrapWidgetTrait getView()

getView() public abstract method See also \yii\bootstrap\yii\base\Widget::getView(). public abstract yii\web\View getView ( )return yii\web\View The view object that can be used to render views or view files.

bootstrap\BootstrapWidgetTrait $clientOptions

$clientOptions public property The options for the underlying Bootstrap JS plugin. Please refer to the corresponding Bootstrap plugin Web page for possible options. For example, this page shows how to use the "Modal" plugin and the supported options (e.g. "remote"). public array $clientOptions = []

bootstrap\BootstrapWidgetTrait $clientEvents

$clientEvents public property The event handlers for the underlying Bootstrap JS plugin. Please refer to the corresponding Bootstrap plugin Web page for possible events. For example, this page shows how to use the "Modal" plugin and the supported events (e.g. "shown"). public array $clientEvents = []

bootstrap\BootstrapThemeAsset $sourcePath

$sourcePath public property public $sourcePath = '@bower/bootstrap/dist'

bootstrap\BootstrapThemeAsset $depends

$depends public property public $depends = ['yii\bootstrap\BootstrapAsset']

bootstrap\BootstrapThemeAsset $css

$css public property public $css = ['css/bootstrap-theme.css']

bootstrap\BootstrapPluginAsset $sourcePath

$sourcePath public property public $sourcePath = '@bower/bootstrap/dist'