MenuItem
in package
implements
MenuItemInterface
Table of Contents
Interfaces
- MenuItemInterface
- Interface descriptions here: https://manual.limesurvey.org/Extra_menus_event
Properties
- $href : string
- $iconClass : string
- $isDivider : bool
- $isSmallText : bool
- $label : string
Methods
- __construct() : mixed
- __toString() : string
- Used by array_unique
- getHref() : string
- getIconClass() : string
- getLabel() : string
- isDivider() : bool
- isSmallText() : bool
Properties
$href
protected
string
$href
= "#"
$iconClass
protected
string
$iconClass
= ""
$isDivider
protected
bool
$isDivider
= false
$isSmallText
protected
bool
$isSmallText
= false
$label
protected
string
$label
= "Missing label"
Methods
__construct()
public
__construct(array<string|int, mixed> $options) : mixed
Parameters
- $options : array<string|int, mixed>
__toString()
Used by array_unique
public
__toString() : string
Return values
stringgetHref()
public
getHref() : string
Return values
stringgetIconClass()
public
getIconClass() : string
Return values
stringgetLabel()
public
getLabel() : string
Return values
stringisDivider()
public
isDivider() : bool
Return values
boolisSmallText()
public
isSmallText() : bool