Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

fbErrorHandler Class Reference

#include <ErrorHandler.php>

List of all members.


Detailed Description

Error handler class.

Definition at line 118 of file ErrorHandler.php.

Static Public Member Functions

 getAction ($error_level)
 setAction ($error_level, $action)
 getEmailAddress ()
 setEmailAddress ($email_address)
 errorHandler ($code, $error, $file, $line, $context)
 init ()

Static Private Member Functions

_action ()
 _email_address ($email_address=null)
 _recursiveSort (&$a)


Member Function Documentation

& fbErrorHandler::_action  )  [static, private]
 

Todo:
output errors: debugging on/web: STDOUT, debugging on/cli: STDERR, debugging off: LOG

Definition at line 123 of file ErrorHandler.php.

References FB_ERROR_HANDLER_FAIL, FB_ERROR_HANDLER_LOG, FB_ERROR_HANDLER_STDOUT, FB_ERROR_HANDLER_TERSE, and FB_ERROR_HANDLER_VERBOSE.

Referenced by getAction(), and setAction().

fbErrorHandler::_email_address email_address = null  )  [static, private]
 

Definition at line 182 of file ErrorHandler.php.

Referenced by getEmailAddress(), and setEmailAddress().

fbErrorHandler::_recursiveSort &$  a  )  [static, private]
 

Definition at line 210 of file ErrorHandler.php.

Referenced by errorHandler().

fbErrorHandler::errorHandler code,
error,
file,
line,
context
[static]
 

Todo:
write to separate log file?

print stack trace

add support for FB_ERROR_HANDLER_EMAIL option

Definition at line 224 of file ErrorHandler.php.

References _recursiveSort(), FB_ERROR_HANDLER_EMAIL, FB_ERROR_HANDLER_FAIL, FB_ERROR_HANDLER_LOG, FB_ERROR_HANDLER_NORMAL, FB_ERROR_HANDLER_STDERR, FB_ERROR_HANDLER_STDOUT, FB_ERROR_HANDLER_VERBOSE, and getAction().

fbErrorHandler::getAction error_level  )  [static]
 

Definition at line 150 of file ErrorHandler.php.

References _action().

Referenced by errorHandler().

fbErrorHandler::getEmailAddress  )  [static]
 

Definition at line 195 of file ErrorHandler.php.

References _email_address().

fbErrorHandler::init  )  [static]
 

Definition at line 735 of file ErrorHandler.php.

fbErrorHandler::setAction error_level,
action
[static]
 

Definition at line 163 of file ErrorHandler.php.

References _action().

fbErrorHandler::setEmailAddress email_address  )  [static]
 

Definition at line 202 of file ErrorHandler.php.

References _email_address().


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:52:31 2004 for Freebeer by doxygen 1.3.6-20040222