Displays the parent menu item (if existing) plus any current level buttons that are visible

package Gems
subpackage Snippets\Generic
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.7.2
inherited_from \Gems\Snippets\Generic\ButtonRowSnippet

 Methods

Create the snippets content

getHtmlOutput(\Zend_View_Abstract $view) : \MUtil_Html_HtmlInterface
Inherited

This is a stub function either override getHtmlOutput() or override render()

Parameters

$view

\Zend_View_Abstract

Just in case it is needed here

Returns

\MUtil_Html_HtmlInterfaceSomething that can be rendered

Set the menu items (allows for overruling in subclasses)

addButtons(\Gems_Menu_MenuList $menuList) 
Inherited

Parameters

$menuList

\Gems_Menu_MenuList

 Properties

 

Add the children of the current menu item

$addCurrentChildren : boolean

Default

true
inherited_from \Gems\Snippets\Generic\ButtonRowSnippet::addCurrentChildren
 

Add the children of the current menu item

$addCurrentChildren : boolean

Default

false
 

Add the parent of the current menu item

$addCurrentParent : boolean

Default

true
inherited_from \Gems\Snippets\Generic\ButtonRowSnippet::addCurrentParent
 

Add the parent of the current menu item

$addCurrentParent : boolean

Default

false
 

Add the siblings of the current menu item

$addCurrentSiblings : boolean

Default

true
inherited_from \Gems\Snippets\Generic\ButtonRowSnippet::addCurrentSiblings
 

Add the siblings of the current menu item

$addCurrentSiblings : boolean

Default

false
 

Add siblings of the current menu item with any paramters.

$anyParameterSiblings : boolean

Default

false

Add only those with the same when false.

 

Required

$menu : \Gems_Menu

Default

 

Required

$request : \Zend_Controller_Request_Abstract

Default