\FML\TypesScriptable

Interface for Elements with script event attributes

Summary

Methods
Constants
getScriptEvents()
setScriptEvents()
getScriptAction()
setScriptAction()
getScriptActionParameters()
setScriptActionParameters()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getScriptEvents()

getScriptEvents() : boolean

Get script events

Returns

boolean

setScriptEvents()

setScriptEvents(boolean  $scriptEvents) : static

Set script events

Parameters

boolean $scriptEvents

If script events should be enabled

Returns

static

getScriptAction()

getScriptAction() : string

Get script action

Returns

string

setScriptAction()

setScriptAction(string  $scriptAction, array<mixed,string>  $scriptActionParameters = null) : static

Set script action

Parameters

string $scriptAction

Script action to be triggered

array<mixed,string> $scriptActionParameters

(optional) Script action parameters

Returns

static

getScriptActionParameters()

getScriptActionParameters() : array<mixed,string>

Get script action parameters

Returns

array<mixed,string>

setScriptActionParameters()

setScriptActionParameters(array<mixed,string>  $scriptActionParameters = null) : static

Set script action parameters

Parameters

array<mixed,string> $scriptActionParameters

(optional) Script action parameters

Returns

static