Actions

Extra menus event: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 12: Line 12:


{|
{|
! Method/property !! Description !
! Method/property !! Description
|-
|-
| isDropDown() || Returns true if this menu is a dropdown menu
| isDropDown() || Returns true if this menu is a dropdown menu

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