Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • TbActiveForm
  • TbAlert
  • TbBadge
  • TbBreadcrumbs
  • TbButton
  • TbButtonColumn
  • TbButtonGroup
  • TbCarousel
  • TbCollapse
  • TbDataColumn
  • TbDetailView
  • TbDropdown
  • TbGridView
  • TbHeroUnit
  • TbLabel
  • TbListView
  • TbMenu
  • TbModal
  • TbNavbar
  • TbPager
  • TbProgress
  • TbScrollSpy
  • TbTabs
  • TbThumbnails
  • TbTypeahead

Class TbNavbar

Bootstrap navigation bar widget.

CComponent
Extended by CBaseController
Extended by CWidget
Extended by TbNavbar
Package: bootstrap\widgets
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
# init( )

Initializes the widget.

Initializes the widget.

Overrides

CWidget::init
public
# run( )

Runs the widget.

Runs the widget.

Overrides

CWidget::run
protected string
# getContainerCssClass( )

Returns the navbar container CSS class.

Returns the navbar container CSS class.

Returns

string
the class

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'.

the navbar type. Valid values are 'inverse'.

Since

1.0.0
public string $brand
#

the text for the brand.

the text for the brand.

public string $brandUrl
#

the URL for the brand link.

the URL for the brand link.

public array $brandOptions
#

the HTML attributes for the brand link.

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.

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.

Since

0.9.8
public boolean $fluid
#

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

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

Since

0.9.8
public boolean $collapse
#

whether to enable collapsing on narrow screens. Default to false.

whether to enable collapsing on narrow screens. Default to false.

public array $items
#

navigation items.

navigation items.

Since

0.9.8
public array $htmlOptions
#

the HTML attributes for the widget container.

the HTML attributes for the widget container.

Properties inherited from CWidget

$actionPrefix, $skin

Magic properties inherited from CWidget

$controller, $id, $owner, $viewPath

Phundament App Class Reference API documentation generated by ApiGen 2.8.0