\FML\ScriptScriptFunction

Class representing a Function of the ManiaLink Script

Summary

Methods
Properties
Constants
__construct()
getName()
setName()
getText()
setText()
__toString()
No public properties found
No constants found
No protected methods found
$name
$text
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Type

string — Function name

$text

$text : string

Type

string — Function text

Methods

__construct()

__construct(string  $name = null, string  $text = null) 

Construct a new Script Function

Parameters

string $name

(optional) Function name

string $text

(optional) Function text

getName()

getName() : string

Get the name

Returns

string

setName()

setName(string  $name) : static

Set the name

Parameters

string $name

Function name

Returns

static

getText()

getText() : string

Get the text

Returns

string

setText()

setText(string  $text) : static

Set the text

Parameters

string $text

Function text

Returns

static

__toString()

__toString() : string

Get the Script Function text

Returns

string