Menu

Implements\LimeSurvey\Menu\MenuInterface

package

Default

Methods

__construct

__construct(array $options): void

Arguments

$options

array

  • Options for either dropdown menu or plain link

getHref

getHref(): string

Response

string

getIconClass

getIconClass(): string

Response

string

getLabel

getLabel(): string

Response

string

getMenuItems

getMenuItems(): array<mixed,\LimeSurvey\Menu\MenuItem>

Response

array<mixed,\LimeSurvey\Menu\MenuItem>

getOnClick

getOnClick(): string

Response

string

getTooltip

getTooltip(): string

Response

string

isDropDown

isDropDown(): boolean

Response

boolean

Properties

If true, render this menu as a dropdown.

isDropDown :boolean
var

Type(s)

boolean

label

label :string
var

Type(s)

string

href

href :string
var

Type(s)

string

menuItems

menuItems :array<mixed,\LimeSurvey\Menu\MenuItem>
var

Type(s)

array<mixed,\LimeSurvey\Menu\MenuItem>

Font-awesome icon class.

iconClass :string
var

Type(s)

string

onClick

onClick :string
var

Type(s)

string

tooltip

tooltip :string
var

Type(s)

string