Overview

Packages

  • bootstrap
    • behaviors
    • components
    • form
    • gii
    • helpers
    • widgets

Classes

  • TbActiveForm
  • TbAffix
  • TbAlert
  • TbBreadcrumb
  • TbButtonColumn
  • TbCollapse
  • TbDataColumn
  • TbDetailView
  • TbGridView
  • TbHeroUnit
  • TbListView
  • TbModal
  • TbNav
  • TbNavbar
  • TbPager
  • TbScrollspy
  • TbTabs
  • TbThumbnails
  • TbTypeAhead
  • Overview
  • Package
  • Class
  • Tree

Class TbNavbar

Bootstrap navbar widget.

CWidget
Extended by TbNavbar
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/TbNavbar.php
Methods summary
public
# init( )

Initializes the widget.

Initializes the widget.

public
# run( )

Runs the widget.

Runs the widget.

Properties summary
public string $color
#

the navbar color.

the navbar color.

public string $brandLabel
#

the brand label text.

the brand label text.

public mixed $brandUrl
#

the brand url.

the brand url.

public array $brandOptions array()
#

the HTML attributes for the brand link.

the HTML attributes for the brand link.

public string $display TbHtml::NAVBAR_DISPLAY_FIXEDTOP
#

nanvbar display type.

nanvbar display type.

public boolean $fluid false
#

whether the navbar spans over the whole page.

whether the navbar spans over the whole page.

public boolean $collapse false
#

whether to enable collapsing of the navbar on narrow screens.

whether to enable collapsing of the navbar on narrow screens.

public array $collapseOptions array()
#

additional HTML attributes for the collapse widget.

additional HTML attributes for the collapse widget.

public array $items array()
#

list of navbar item.

list of navbar item.

public array $htmlOptions array()
#

the HTML attributes for the navbar.

the HTML attributes for the navbar.

Yiistrap API documentation generated by ApiGen 2.8.0