Class TbMenu
Bootstrap menu.
- CComponent
-
CBaseController
-
CWidget
-
CMenu
-
TbBaseMenu
-
TbMenu
Copyright: Copyright © Christoffer Niska 2012-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
See: http://twitter.github.com/bootstrap/components.html#navs
Located at crisu83/yii-bootstrap/widgets/TbMenu.php
Methods summary
public
|
|
public
string
|
|
public
string
|
|
public
boolean
|
Methods inherited from TbBaseMenu
normalizeItems(),
renderMenu(),
renderMenuItem()
Methods inherited from CMenu
isItemActive(),
renderMenuRecursive(),
run()
Methods inherited from CWidget
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
Methods inherited from CBaseController
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
Magic methods summary
Constants summary
string |
TYPE_TABS
|
'tabs' |
|
string |
TYPE_PILLS
|
'pills' |
|
string |
TYPE_LIST
|
'list' |
Properties summary
public
string
|
$type |
#
the menu type. Valid values are 'tabs' and 'pills'. |
public
string|array
|
$scrollspy |
#
the scrollspy target or configuration. |
public
boolean
|
$stacked |
#
indicates whether the menu should appear vertically stacked. |
public
boolean
|
$dropup |
#
indicates whether dropdowns should be dropups instead. |
Properties inherited from CMenu
$activateItems,
$activateParents,
$activeCssClass,
$encodeLabel,
$firstItemCssClass,
$hideEmptyItems,
$htmlOptions,
$itemCssClass,
$itemTemplate,
$items,
$lastItemCssClass,
$linkLabelWrapper,
$submenuHtmlOptions
Properties inherited from CWidget
$actionPrefix,
$skin
Magic properties inherited from CWidget
$controller,
$id,
$owner,
$viewPath