CUCMenuClass

Extends\LimeSurvey\Menu\Menu

Extending the basic menu class with an icon in front of the label

package

Default

Methods

__construct

__construct(array $options): void
inherited

Arguments

$options

array

  • Options for either dropdown menu or plain link

getHref

getHref(): string
inherited

Response

string

getIconClass

getIconClass(): string
inherited

Response

string

getLabel

getLabel(): string
inherited

Response

string

getMenuItems

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

Response

array<mixed,\LimeSurvey\Menu\MenuItem>

getOnClick

getOnClick(): string
inherited

Response

string

getTooltip

getTooltip(): string
inherited

Response

string

isDropDown

isDropDown(): boolean
inherited

Response

boolean

Properties

If true, render this menu as a dropdown.

isDropDown :boolean
inherited
var

Type(s)

boolean

label

label :string
inherited
var

Type(s)

string

href

href :string
inherited
var

Type(s)

string

menuItems

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

Type(s)

array<mixed,\LimeSurvey\Menu\MenuItem>

Font-awesome icon class.

iconClass :string
inherited
var

Type(s)

string

onClick

onClick :string
inherited
var

Type(s)

string

tooltip

tooltip :string
inherited
var

Type(s)

string