Public Member Functions | |
errorHandler ($url) | |
handle ($errorName, $errorDescription) | |
render () | |
Public Attributes | |
$errors | |
string The list containing errors | |
$handled = false | |
boolean Wether errors exist or not | |
$url | |
string The URL to return to |
Definition at line 27 of file shared-errorhandler.php.
errorHandler::errorHandler | ( | $ | url | ) |
errorHandler::handle | ( | $ | errorName, | |
$ | errorDescription | |||
) |
Takes output from a function describing the error...
errorName | Name of the error | |
errorDescription | Description of the error, or true if the error is not an error Use this distinction to handle return values from functions |
Definition at line 51 of file shared-errorhandler.php.
References i18n().
errorHandler::render | ( | ) |
Renders the errors to present them to the user
Definition at line 72 of file shared-errorhandler.php.
References i18n().
errorHandler::$errors |
errorHandler::$handled = false |
errorHandler::$url |
string The URL to return to
Definition at line 31 of file shared-errorhandler.php.
Referenced by errorHandler().