MessageRenderer

Extends DocumentRenderer

HTML document renderer for the system message queue

since

3.5

package

Joomla CMS

Methods

__construct

Class constructor

__construct(\Joomla\CMS\Document\Document doc) : 
inherited
since

1.7.0

Arguments

doc

DocumentA reference to the Document object that instantiated the renderer

Response

mixed

_relToAbs

Convert links in a text from relative to absolute

_relToAbs( text) : 
inherited
since

1.7.0

Arguments

text

stringThe text processed

Response

stringText with converted links

getContentType

Return the content type of the renderer

getContentType() : 
inherited
since

1.7.0

Response

stringThe contentType

getData

Get and prepare system message data for output

getData() : mixed||string|int
since

3.5

Response

array<string|int, mixed>An array contains system message

render

Renders the error stack and returns the results as a string

render( name, mixed||string|int params = [],  content = null) : 
since

3.5

Arguments

name

stringNot used.

params

array<string|int, mixed>Associative array of values

content

stringNot used.

Response

stringThe output of the script

Properties

_doc

Reference to the Document object that instantiated the renderer

inherited
since

1.7.0

Type(s)

Document

_mime

Renderer mime type

inherited
since

1.7.0

Type(s)

string