\FML\ManiaCodeGo_To

ManiaCode Element for going to a link

Summary

Methods
Properties
Constants
create()
__construct()
getLink()
setLink()
render()
No public properties found
No constants found
No protected methods found
$link
N/A
No private methods found
No private properties found
N/A

Properties

$link

$link : string

Type

string — Link

Methods

create()

create(string  $link = null) : static

Create a new Go_To Element

Parameters

string $link

(optional) Link

Returns

static

__construct()

__construct(string  $link = null) 

Construct a new Go_To Element

Parameters

string $link

(optional) Link

getLink()

getLink() : string

Get the link

Returns

string

setLink()

setLink(string  $link) : static

Set the link

Parameters

string $link

Link

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