BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Skins\Chameleon\Components\NavMenu Class Reference
Inheritance diagram for Skins\Chameleon\Components\NavMenu:
Collaboration diagram for Skins\Chameleon\Components\NavMenu:

Public Member Functions

 getHtml ()
 
 getMenusToBeFlattened ()
 
- Public Member Functions inherited from Skins\Chameleon\Components\Component
 __construct (ChameleonTemplate $template,\DOMElement $domElement=null, $indent=0)
 
 setClasses ($classes)
 
 addClasses ($classes)
 
 getSkinTemplate ()
 
 getSkin ()
 
 getIndent ()
 
 getClassString ()
 
 removeClasses ($classes)
 
 getDomElement ()
 
 getHtml ()
 
 getResourceLoaderModules ()
 

Protected Member Functions

 getDropdownForNavMenu ($menuName, $menuDescription, $flatten=false)
 
 buildMenuItemsForDropdownMenu ($menuDescription, $indent=0)
 
 hasSubmenuItems ($menuDescription)
 
 buildDropdownMenuStub ($menuDescription)
 
 buildDropdownOpeningTags ($menuDescription)
 
 buildDropdownClosingTags ()
 
- Protected Member Functions inherited from Skins\Chameleon\Components\Component
 transformClassesToArray ($classes)
 
 indent ($indent=0)
 
 getAttribute ($attributeName, $default=null)
 

Detailed Description

The NavMenu class.

Author
Stephan Gambke
Since
1.0

Member Function Documentation

Skins\Chameleon\Components\NavMenu::buildDropdownClosingTags ( )
protected
Returns
string
Skins\Chameleon\Components\NavMenu::buildDropdownMenuStub (   $menuDescription)
protected
Parameters
mixed[]$menuDescription
Returns
string
Skins\Chameleon\Components\NavMenu::buildDropdownOpeningTags (   $menuDescription)
protected
Parameters
mixed[]$menuDescription
Returns
string
Skins\Chameleon\Components\NavMenu::buildMenuItemsForDropdownMenu (   $menuDescription,
  $indent = 0 
)
protected
Parameters
mixed[]$menuDescription
int$indent
Returns
string
Skins\Chameleon\Components\NavMenu::getDropdownForNavMenu (   $menuName,
  $menuDescription,
  $flatten = false 
)
protected

Create a single dropdown

Parameters
string$menuName
mixed[]$menuDescription
bool$flatten
Returns
string
Skins\Chameleon\Components\NavMenu::getHtml ( )

Builds the HTML code for this component

Returns
string the HTML code
Skins\Chameleon\Components\NavMenu::getMenusToBeFlattened ( )
Returns
string[]
Skins\Chameleon\Components\NavMenu::hasSubmenuItems (   $menuDescription)
protected
Parameters
mixed[]$menuDescription
Returns
bool

The documentation for this class was generated from the following file: