\FML\ManiaCodeInstallScript

ManiaCode Element installing a script

Summary

Methods
Properties
Constants
create()
__construct()
getName()
setName()
getFile()
setFile()
getUrl()
setUrl()
render()
No public properties found
No constants found
No protected methods found
$name
$file
$url
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Type

string — Script name

$file

$file : string

Type

string — Script file

$url

$url : string

Type

string — Script url

Methods

create()

create(string  $name = null, string  $file = null, string  $url = null) : static

Create a new InstallScript Element

Parameters

string $name

(optional) Script name

string $file

(optional) Script file

string $url

(optional) Script url

Returns

static

__construct()

__construct(string  $name = null, string  $file = null, string  $url = null) 

Construct a new InstallScript Element

Parameters

string $name

(optional) Script name

string $file

(optional) Script file

string $url

(optional) Script url

getName()

getName() : string

Get the script name

Returns

string

setName()

setName(string  $name) : static

Set the script name

Parameters

string $name

Script name

Returns

static

getFile()

getFile() : string

Get the script file

Returns

string

setFile()

setFile(string  $file) : static

Set the script file

Parameters

string $file

Script file

Returns

static

getUrl()

getUrl() : string

Get the script url

Returns

string

setUrl()

setUrl(string  $url) : static

Set the script url

Parameters

string $url

Script url

Returns

static

render()

render(\DOMDocument  $domDocument) : \DOMElement

Render the ManiaCode Element

Parameters

\DOMDocument $domDocument

The DOMDocument for which the Element should be rendered

Returns

\DOMElement