\FML\ScriptScriptInclude

Class representing an Include of the ManiaLink Script

Summary

Methods
Properties
Constants
__construct()
getFile()
setFile()
getNamespace()
setNamespace()
__toString()
No public properties found
MATHLIB
TEXTLIB
No protected methods found
$file
$namespace
N/A
No private methods found
No private properties found
N/A

Constants

MATHLIB

MATHLIB

TEXTLIB

TEXTLIB

Properties

$file

$file : string

Type

string — File name

$namespace

$namespace : string

Type

string — Namespace

Methods

__construct()

__construct(string  $file = null, string  $namespace = null) 

Construct a new Script Include

Parameters

string $file

(optional) File name

string $namespace

(optional) Namespace

getFile()

getFile() : string

Get the file

Returns

string

setFile()

setFile(string  $file) : static

Set the file

Parameters

string $file

File name

Returns

static

getNamespace()

getNamespace() : string

Get the namespace

Returns

string

setNamespace()

setNamespace(string  $namespace) : static

Set the namespace

Parameters

string $namespace

Namespace

Returns

static

__toString()

__toString() : string

Build the Script Include text

Returns

string