PHP Class TbMenu

See also:
Inheritance: extends TbBaseMenu
Datei anzeigen Open project: yinhe/yincart Class Usage Examples

Public Properties

Property Type Description
$dropup indicates whether dropdowns should be dropups instead.
$scrollspy the scrollspy target or configuration.
$stacked indicates whether the menu should appear vertically stacked.
$type the menu type. Valid values are 'tabs', 'pills', or 'list'.

Public Methods

Method Description
getDividerCssClass ( ) : string ### .getDividerCssClass()
getDropdownCssClass ( ) : string ### .getDropdownCssClass()
init ( ) ### .init()
isVertical ( ) : boolean ### .isVertical()

Method Details

getDividerCssClass() public method

Returns the divider css class.
public getDividerCssClass ( ) : string
return string the class name

getDropdownCssClass() public method

Returns the dropdown css class.
public getDropdownCssClass ( ) : string
return string the class name

init() public method

Initializes the widget.
public init ( )

isVertical() public method

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

Property Details

$dropup public_oe property

indicates whether dropdowns should be dropups instead.
public $dropup

$scrollspy public_oe property

the scrollspy target or configuration.
public $scrollspy

$stacked public_oe property

indicates whether the menu should appear vertically stacked.
public $stacked

$type public_oe property

the menu type. Valid values are 'tabs', 'pills', or 'list'.
public $type