Error
in package
Handles all errors.
Tags
Table of Contents
Properties
- $_objTpl : mixed
- HTML Template
- $pageContent : mixed
Methods
- __construct() : mixed
- Error page constructor
- errorHandling() : string
- Set up page containing the error message.
- getErrorPage() : string
- Set up page containing the error message.
Properties
$_objTpl
HTML Template
public
mixed
$_objTpl
Tags
$pageContent
protected
mixed
$pageContent
Methods
__construct()
Error page constructor
public
__construct(string $pageContent) : mixed
Parameters
- $pageContent : string
-
Page content
errorHandling()
Set up page containing the error message.
public
errorHandling() : string
Sets up an error page determined by the error ID found in the 'id' field of the $_REQUEST array.
Tags
Return values
string —Page content
getErrorPage()
Set up page containing the error message.
public
getErrorPage() : string
Tags
Return values
string —Page content