PHP 클래스 Ergo\Error\ErrorProxy

파일 보기 프로젝트 열기: 99designs/ergo

공개 메소드들

메소드 설명
__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 ( )