PHP Класс Ergo\Error\ErrorProxy

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $application ) Constructor
_handleError ( $errno, $errstr, $errfile, $errline, $context = null ) PHP error handler interface
_handleException ( $e ) PHP exception handler interface
_shutdown ( ) PHP shutdown function to catch fatal errors
register ( ) Registers the error handler with PHP
unregister ( ) Attempts to unregister the error handler, restores the previous

Приватные методы

Метод Описание
_errorNumberString ( $intval ) Converts a PHP error int to a string

Описание методов

__construct() публичный Метод

Constructor
public __construct ( $application )

_handleError() публичный Метод

PHP error handler interface
См. также: set_error_handler
public _handleError ( $errno, $errstr, $errfile, $errline, $context = null )

_handleException() публичный Метод

PHP exception handler interface
См. также: set_exception_handler
public _handleException ( $e )

_shutdown() публичный Метод

PHP shutdown function to catch fatal errors
См. также: http://www.eggplant.ws/blog/php/mayday-php-going-down/
См. также: register_shutdown_function
public _shutdown ( )

register() публичный Метод

Registers the error handler with PHP
public register ( )

unregister() публичный Метод

Attempts to unregister the error handler, restores the previous
public unregister ( )