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 $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\Nav renderItems()

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

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\Nav run()

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

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\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\Nav isChildActive()

isChildActive() protected method Check to see if a child item is active optionally activating the parent. protected array isChildActive ( $items, &$active )$items array @see items $active boolean Should the parent be active too return array @see items

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.