[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Document/ -> ErrorDocument.php (summary)

Joomla! Content Management System

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 164 lines (4 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

ErrorDocument:: (5 methods):
  __construct()
  setError()
  loadRenderer()
  render()
  renderBacktrace()


Class: ErrorDocument  - X-Ref

ErrorDocument class, provides an easy interface to parse and display an HTML based error page

__construct($options = array()   X-Ref
Class constructor

param: array  $options  Associative array of attributes

setError($error)   X-Ref
Set error object

param: \Throwable  $error  Error object to set
return: boolean  True on success

loadRenderer($type)   X-Ref
Load a renderer

param: string  $type  The renderer type
return: RendererInterface

render($cache = false, $params = array()   X-Ref
Render the document

param: boolean  $cache   If true, cache the output
param: array    $params  Associative array of attributes
return: string   The rendered data

renderBacktrace()   X-Ref
Render the backtrace

return: string  The contents of the backtrace



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer