\FML\ElementsIncluding

Include Element

Summary

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

Properties

$url

$url : string

Type

string — Include url

Methods

create()

create(string  $url = null) : static

Create a new Include

Parameters

string $url

(optional) Include url

Returns

static

__construct()

__construct(string  $url = null) 

Construct a new Include

Parameters

string $url

(optional) Include url

getUrl()

getUrl() : string

Get the url

Returns

string

setUrl()

setUrl(string  $url) : static

Set the url

Parameters

string $url

Include url

Returns

static

render()

render(\DOMDocument  $domDocument) : \DOMElement

Render the XML element

Parameters

\DOMDocument $domDocument

DOMDocument for which the XML element should be rendered

Returns

\DOMElement