PHP Класс Horde_ErrorHandler, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
catchFatalError ( ) Catch fatal errors.
errorHandler ( integer $errno, string $errstr, string $errfile, integer $errline, array $errcontext ) PHP legacy error handling (non-Exceptions).
fatal ( mixed $error ) Aborts with a fatal error, displaying debug information to the user.

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

catchFatalError() публичный статический Метод

Catch fatal errors.
public static catchFatalError ( )

errorHandler() публичный статический Метод

PHP legacy error handling (non-Exceptions).
public static errorHandler ( integer $errno, string $errstr, string $errfile, integer $errline, array $errcontext )
$errno integer See set_error_handler().
$errstr string See set_error_handler().
$errfile string See set_error_handler().
$errline integer See set_error_handler().
$errcontext array See set_error_handler().

fatal() публичный статический Метод

Aborts with a fatal error, displaying debug information to the user.
public static fatal ( mixed $error )
$error mixed Either a string or an object with a getMessage() method (e.g. PEAR_Error, Exception).