JsonapiRenderer
Extends JsonRendererJSON error page renderer
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
getDocument
Retrieve the Document instance attached to this renderer
getDocument() : \Joomla\CMS\Document\Document
inherited
getRenderer
Get a renderer instance for the given type
getRenderer( type) :
inherited static
since |
4.0.0 |
---|---|
throws |
|
Arguments
- type
string
The type of renderer to fetch
Response
static
loadDocument
Create the Document object for this renderer
loadDocument() : \Joomla\CMS\Document\Document
inherited
render
Render the error page for the given object
render(\Throwable error) :
since |
4.0.0 |
---|
Arguments
- error
Throwable
The error object to be rendered
Response
string
Properties
type
The format (type) of the error page
since |
4.0.0 |
---|
Type(s)
string