\TbNavbar

## Bootstrap navigation bar widget.

Summary

Methods
Properties
Constants
init()
run()
$type
$brand
$brandUrl
$brandOptions
$items
$fixed
$fluid
$collapse
$htmlOptions
CONTAINER_PREFIX
TYPE_DEFAULT
TYPE_INVERSE
FIXED_TOP
FIXED_BOTTOM
getContainerCssClass()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

CONTAINER_PREFIX

CONTAINER_PREFIX

TYPE_DEFAULT

TYPE_DEFAULT

TYPE_INVERSE

TYPE_INVERSE

FIXED_TOP

FIXED_TOP

FIXED_BOTTOM

FIXED_BOTTOM

Properties

$type

$type : string

Type

string — the navbar type. Valid values are 'inverse'.

$brand

$brand : string

Type

string — the text for the brand.

$brandUrl

$brandUrl : string

Type

string — the URL for the brand link.

$brandOptions

$brandOptions : array

Type

array — the HTML attributes for the brand link.

$items

$items : array

Type

array — navigation items.

$fixed

$fixed : mixed

Type

mixed — 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.

$fluid

$fluid : boolean

Type

boolean — whether the nav span over the full width. Defaults to false.

$collapse

$collapse : boolean

Type

boolean — whether to enable collapsing on narrow screens. Default to true.

$htmlOptions

$htmlOptions : array

Type

array — the HTML attributes for the widget container.

Methods

init()

init()

### .init()

Initializes the widget.

run()

run()

### .run()

Runs the widget.

getContainerCssClass()

getContainerCssClass() : string

### .getContainerCssClass()

Returns the navbar container CSS class.

Returns

string —

the class