AbstractRenderer

Implements \Joomla\CMS\Error\RendererInterface

Base class for error page renderers

abstract
since

4.0.0

Methods

getDocument

Retrieve the Document instance attached to this renderer

getDocument() : \Joomla\CMS\Document\Document
since

4.0.0

Response

\Joomla\CMS\Document\Document

getRenderer

Get a renderer instance for the given type

getRenderer(string $type) : static
static
since

4.0.0

throws

\InvalidArgumentException

Arguments

$type

stringThe type of renderer to fetch

Response

static

loadDocument

Create the Document object for this renderer

loadDocument() : \Joomla\CMS\Document\Document
since

4.0.0

Response

\Joomla\CMS\Document\Document

Properties

document

The Document instance

since

4.0.0

Type(s)

\Joomla\CMS\Document\Document

type

The format (type) of the error page

since

4.0.0

Type(s)

string