\FML\ManiaCodeInstallPack

ManiaCode Element installing a title pack

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 — Pack name

$file

$file : string

Type

string — Pack file

$url

$url : string

Type

string — Pack url

Methods

create()

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

Create a new InstallPack Element

Parameters

string $name

(optional) Pack name

string $file

(optional) Pack file

string $url

(optional) Pack url

Returns

static

__construct()

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

Construct a new InstallPack Element

Parameters

string $name

(optional) Pack name

string $file

(optional) Pack file

string $url

(optional) Pack url

getName()

getName() : string

Get the pack name

Returns

string

setName()

setName(string  $name) : static

Set the pack name

Parameters

string $name

Pack name

Returns

static

getFile()

getFile() : string

Get the pack file

Returns

string

setFile()

setFile(string  $file) : static

Set the pack file

Parameters

string $file

Pack file

Returns

static

getUrl()

getUrl() : string

Get the pack url

Returns

string

setUrl()

setUrl(string  $url) : static

Set the pack url

Parameters

string $url

Pack 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