bootstrap\NavBar $innerContainerOptions

$innerContainerOptions public property The HTML attributes of the inner container. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $innerContainerOptions = []

bootstrap\NavBar $containerOptions

$containerOptions public property The HTML attributes for the container tag. The following special options are recognized: tag: string, defaults to "div", the name of the container tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $containerOptions = []

bootstrap\NavBar $brandUrl

$brandUrl public property The URL for the brand's hyperlink tag. This parameter will be processed by yii\helpers\Url::to() and will be used for the "href" attribute of the brand link. Default value is false that means yii\web\Application::$homeUrl will be used. You may set it to null if you want to have no link at all. public array|string|boolean $brandUrl = false

bootstrap\NavBar $brandOptions

$brandOptions public property The HTML attributes of the brand link. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $brandOptions = []

bootstrap\NavBar $brandLabel

$brandLabel public property The text of the brand or false if it's not used. Note that this is not HTML-encoded. See also http://getbootstrap.com/components/#navbar. public string|boolean $brandLabel = false

bootstrap\Nav run()

run() public method Renders the widget. public void run ( )

bootstrap\Nav renderItems()

renderItems() public method Renders widget items. public void renderItems ( )

bootstrap\Nav renderItem()

renderItem() public method Renders a widget's item. public string renderItem ( $item )$item string|array The item to render. return string The rendering result. throws yii\base\InvalidConfigException

bootstrap\Nav renderDropdown()

renderDropdown() protected method (available since version 2.0.1) Renders the given items as a dropdown. This method is called to create sub-menus. protected string renderDropdown ( $items, $parentItem )$items array The given items. Please refer to yii\bootstrap\Dropdown::$items for the array structure. $parentItem array The parent item information. Please refer to $items for the structure of this array. return string The rendering result.

bootstrap\Nav isItemActive()

isItemActive() protected method Checks whether a menu item is active. This is done by checking if $route and $params match that specified in the url option of the menu item. When the url option of a menu item is specified in terms of an array, its first element is treated as the route for the item and the rest of the elements are the associated parameters. Only when its route and parameters match $route and $params, respectively, will a menu item be considered active. protected boolean is