MenuItem
in package
implements
ExtendedMenuItemInterface
Table of Contents
Interfaces
- ExtendedMenuItemInterface
- Interface descriptions here: https://www.limesurvey.org/manual/Extra_menus_event
Properties
- $href : string
- $iconClass : string
- $id : string
- $isDivider : bool
- $isModal : mixed
- $isSmallText : bool
- $itemClass : string
- $label : string
- $modalId : mixed
Methods
- __construct() : mixed
- __toString() : string
- Used by array_unique
- getHref() : string
- getIconClass() : string
- getId() : string|null
- getItemClass() : mixed
- getLabel() : string
- getModalId() : mixed
- isDivider() : bool
- isModal() : mixed
- isSmallText() : bool
Properties
$href
protected
string
$href
= "#"
$iconClass
protected
string
$iconClass
= ""
$id
protected
string
$id
= null
$isDivider
protected
bool
$isDivider
= false
$isModal
protected
mixed
$isModal
= false
$isSmallText
protected
bool
$isSmallText
= false
$itemClass
protected
string
$itemClass
= ""
$label
protected
string
$label
= "Missing label"
$modalId
protected
mixed
$modalId
= null
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
stringgetId()
public
getId() : string|null
Return values
string|nullgetItemClass()
public
getItemClass() : mixed
getLabel()
public
getLabel() : string
Return values
stringgetModalId()
public
getModalId() : mixed
isDivider()
public
isDivider() : bool
Return values
boolisModal()
public
isModal() : mixed
isSmallText()
public
isSmallText() : bool