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

package Gems
subpackage Snippets\Tracker
copyright Copyright (c) 2015 Erasmus MC
license New BSD License
since Class available since version 1.7.1 8-mei-2015 13:46:43
inherited_from \Gems\Snippets\Generic\CurrentButtonRowSnippet

 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) 

Parameters

$menuList

\Gems_Menu_MenuList

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

false
 

Add the parent of the current menu item

$addCurrentParent : boolean

Default

false
 

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