\FML\Script\FeaturesMenuElement

Menu Element for the Menu Feature

Summary

Methods
Properties
Constants
__construct()
getItem()
setItem()
getControl()
setControl()
No public properties found
No constants found
No protected methods found
$item
$control
N/A
No private methods found
No private properties found
N/A

Properties

Methods

__construct()

__construct(\FML\Controls\Control  $item = null, \FML\Controls\Control  $control = null) 

Create a new Menu Element

Parameters

\FML\Controls\Control $item

(optional) Item Control in the Menu bar

\FML\Controls\Control $control

(optional) Toggled Menu Control

setItem()

setItem(\FML\Controls\Control  $item) : static

Set the Item Control

Parameters

\FML\Controls\Control $item

Item Control

Returns

static

setControl()

setControl(\FML\Controls\Control  $control) : static

Set the Menu Control

Parameters

\FML\Controls\Control $control

Menu Control

Returns

static