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 TbDropdown

Bootstrap dropdown menu.

CComponent
Extended by CBaseController
Extended by CWidget
Extended by CMenu
Extended by TbBaseMenu
Extended by TbDropdown
Package: bootstrap\widgets
Copyright: Copyright © Christoffer Niska 2012-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
See: http://twitter.github.com/bootstrap/javascript.html#dropdowns
Located at crisu83/yii-bootstrap/widgets/TbDropdown.php

Methods summary

public
# init( )

Initializes the widget.

Initializes the widget.

Overrides

CMenu::init
protected string
# renderMenuItem( array $item )

Renders the content of a menu item. Note that the container and the sub-menus are not rendered here.

Renders the content of a menu item. Note that the container and the sub-menus are not rendered here.

Parameters

$item
array
$item the menu item to be rendered. Please see CMenu::$items on what data might be in the item.

Returns

string
the rendered item

Overrides

TbBaseMenu::renderMenuItem
public string
# getDividerCssClass( )

Returns the divider CSS class.

Returns the divider CSS class.

Returns

string
the class name
public string
# getDropdownCssClass( )

Returns the dropdown css class.

Returns the dropdown css class.

Returns

string
the class name
public boolean
# isVertical( )

Returns whether this is a vertical menu.

Returns whether this is a vertical menu.

Returns

boolean
the result

Methods inherited from TbBaseMenu

normalizeItems(), renderMenu()

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

Properties summary

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

Phundament App Class Reference API documentation generated by ApiGen 2.8.0