\FML\ManiaCodeShowMessage

ManiaCode Element showing a Message

Summary

Methods
Properties
Constants
create()
__construct()
getMessage()
setMessage()
render()
No public properties found
No constants found
No protected methods found
$message
N/A
No private methods found
No private properties found
N/A

Properties

$message

$message : string

Type

string — Message text

Methods

create()

create(string  $message = null) : static

Create a new ShowMessage Element

Parameters

string $message

(optional) Message text

Returns

static

__construct()

__construct(string  $message = null) 

Construct a new ShowMessage Element

Parameters

string $message

(optional) Message text

getMessage()

getMessage() : string

Get the message text

Returns

string

setMessage()

setMessage(string  $message) : static

Set the message text

Parameters

string $message

Message text

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