Actions

Extra menus event: Difference between revisions

From LimeSurvey Manual

(Created page with "Description of the event to generate extra menus at top bar (besides configuration, logout, etc). Two types of menus: * Dropdown * Link For dropdown, we have two kinds of me...")
 
No edit summary
Line 8: Line 8:
* Link
* Link
* Divider
* Divider
Plugin will set property <code>extraMenus</code>. Each element in that array must implement interface <code>ExtraMenuInterface</code>.
{|
! Method/property !! Description !
|-
| isDropDown() || Returns true if this menu is a dropdown menu
|-
| getDropDown || Return array of dropdown menu items
|}

Revision as of 21:47, 25 April 2016

Description of the event to generate extra menus at top bar (besides configuration, logout, etc).

Two types of menus:

  • Dropdown
  • Link

For dropdown, we have two kinds of menu items:

  • Link
  • Divider

Plugin will set property extraMenus. Each element in that array must implement interface ExtraMenuInterface.

Method/property Description !
isDropDown() Returns true if this menu is a dropdown menu
getDropDown Return array of dropdown menu items