PHP Class TbDropdown

See also: http://twitter.github.com/bootstrap/javascript.html#dropdowns
Inheritance: extends TbBaseMenu
Afficher le fichier Open project: yinhe/yincart

Méthodes publiques

Méthode Description
getDividerCssClass ( ) : string ### .getDividerCssClass()
getDropdownCssClass ( ) : string ### .getDropdownCssClass()
init ( ) ### .init()
isVertical ( ) : boolean ### .isVertical()

Méthodes protégées

Méthode Description
renderMenuItem ( array $item ) : string ### .renderMenuItem()

Method Details

getDividerCssClass() public méthode

Returns the divider CSS class.
public getDividerCssClass ( ) : string
Résultat string the class name

getDropdownCssClass() public méthode

Returns the dropdown css class.
public getDropdownCssClass ( ) : string
Résultat string the class name

init() public méthode

Initializes the widget.
public init ( )

isVertical() public méthode

Returns whether this is a vertical menu.
public isVertical ( ) : boolean
Résultat boolean the result

renderMenuItem() protected méthode

Renders the content of a menu item. Note that the container and the sub-menus are not rendered here.
protected renderMenuItem ( array $item ) : string
$item array the menu item to be rendered. Please see {@link items} on what data might be in the item.
Résultat string the rendered item