MbMenu Class Reference

Inheritance diagram for MbMenu:
MinimalDynamicLabelMbMenu

Public Member Functions

 init ()
 registerClientScripts ()
 registerCssFile ()
 run ()

Data Fields

 $activateParents = true
 $navContainerClass = 'nav-container'
 $navBarClass = 'nav-bar'
 $labelPrefix = null
 $labelPrefixOptions = array()
 $linkPrefix = null

Protected Member Functions

 createJsCode ()
 cssLastItems ($items)
 cssParentItems ($items)
 renderMenuRecursive ($items)
 resolveItemOptions (array $item)
 resolveHtmlOptions (array $item)
 resolveLabelContent (array $item)
 renderMenuItem ($item)
 renderMenuItemWithNoURLSpecified ($resolvedLabelContent, array $htmlOptions, array $item)
 renderSubMenu (array $item)
 resolveAndGetSpanAndDynamicLabelContent (array $item)
 resolveNavigationClass ()
 normalizeItems ($items, $route, &$active, $ischild=0)
 renderLabelPrefix ()
 renderLinkPrefix ()
 doRenderMenuHeader (array $item)
 doRenderSubMenu (array $item)

Protected Attributes

 $themeUrl
 $theme
 $cssFile
 $cssIeStylesFile = null

Detailed Description

MbMenu class file.

Author:
Mark van den Broek (mark@heyhoo.nl) Copyright © 2010 HeyHoo

Definition at line 46 of file MbMenu.php.


Member Function Documentation

createJsCode (  )  [protected]

The javascript needed.

Definition at line 75 of file MbMenu.php.

cssLastItems ( items  )  [protected]

Give the last items css 'last' style.

Definition at line 94 of file MbMenu.php.

cssParentItems ( items  )  [protected]

Give the last items css 'parent' style.

Definition at line 119 of file MbMenu.php.

init (  ) 

Initialize the widget.

Definition at line 142 of file MbMenu.php.

registerClientScripts (  ) 

Registers the external javascript files.

Definition at line 166 of file MbMenu.php.

run (  ) 

Run the widget.

Definition at line 385 of file MbMenu.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:27 2017