Class TbNavbar
Bootstrap navigation bar widget.
- CComponent
- CBaseController
- CWidget
- TbNavbar
Copyright: Copyright © Christoffer Niska 2011-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
Located at crisu83/yii-bootstrap/widgets/TbNavbar.php
Methods summary
public
|
|
public
|
|
protected
string
|
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_INVERSE
|
'inverse' |
|
string |
FIXED_TOP
|
'top' |
|
string |
FIXED_BOTTOM
|
'bottom' |
Properties summary
public
string
|
$type |
#
the navbar type. Valid values are 'inverse'. |
public
string
|
$brand |
#
the text for the brand. |
public
string
|
$brandUrl |
#
the URL for the brand link. |
public
array
|
$brandOptions |
#
the HTML attributes for the brand link. |
public
mixed
|
$fixed |
#
fix location of the navbar if applicable. Valid values are 'top' and 'bottom'. Defaults to 'top'. Setting the value to false will make the navbar static. |
public
boolean
|
$fluid |
#
whether the nav span over the full width. Defaults to false. |
public
boolean
|
$collapse |
#
whether to enable collapsing on narrow screens. Default to false. |
public
array
|
$items |
#
navigation items. |
public
array
|
$htmlOptions |
#
the HTML attributes for the widget container. |
Properties inherited from CWidget
$actionPrefix
,
$skin
Magic properties inherited from CWidget
$controller
,
$id
,
$owner
,
$viewPath