\FML\ManiaCodeInstallMap

ManiaCode Element installing a map

Summary

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

Properties

$name

$name : string

Type

string — Map name

$url

$url : string

Type

string — Map url

Methods

create()

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

Create a new InstallMap Element

Parameters

string $name

(optional) Map name

string $url

(optional) Map url

Returns

static

__construct()

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

Construct a new InstallMap Element

Parameters

string $name

(optional) Map name

string $url

(optional) Map url

getName()

getName() : string

Get the map name

Returns

string

setName()

setName(string  $name) : static

Set the map name

Parameters

string $name

Map name

Returns

static

getUrl()

getUrl() : string

Get the map url

Returns

string

setUrl()

setUrl(string  $url) : static

Set the map url

Parameters

string $url

Map 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