Class TbNav
Bootstrap navigation menu widget.
- CWidget
- TbNav
Package: bootstrap\widgets
Copyright: Copyright © Christoffer Niska 2013-
License: New BSD License
Author: Christoffer Niska <christoffer.niska@gmail.com>
See: http://twitter.github.com/bootstrap/components.html#navbar
Located at widgets/TbNav.php
Copyright: Copyright © Christoffer Niska 2013-
License: New BSD License
Author: Christoffer Niska <christoffer.niska@gmail.com>
See: http://twitter.github.com/bootstrap/components.html#navbar
Located at widgets/TbNav.php
public
|
|
public
|
|
protected
array
|
|
protected
boolean
|
public
string
|
$type |
|
#
the menu type. |
public
boolean
|
$stacked | false |
#
whether the menu items should be stacked on top of each other. |
public
string|array
|
$scrollspy |
|
#
the scrollspy target or configuration. |
public
array
|
$items | array() |
#
list of menu items. Each menu item is specified as an array of name-value pairs. |
public
boolean
|
$encodeLabel | true |
#
whether the labels for menu items should be HTML-encoded. Defaults to true. |
public
boolean
|
$activateItems | true |
#
whether to automatically activate items according to whether their route setting matches the currently requested route. Defaults to true. |
public
boolean
|
$activateParents | false |
#
whether to activate parent menu items when one of the corresponding child menu items is active. |
public
boolean
|
$hideEmptyItems | true |
#
whether to hide empty menu items. |
public
array
|
$htmlOptions | array() |
#
HTML attributes for the menu's root container tag. |