Inherits PntErrorHandler.
Additional Inherited Members | |
Public Member Functions inherited from PntErrorHandler | |
__construct ($logFilePath=null, $emailAddress=null) | |
initErrorLevelMap () | |
mapErrorLevel ($level) | |
getDefaultReportingLevel () | |
getLoggingLevel () | |
getErrorExceptionLevel () | |
getDefaultErrorExceptionLevel () | |
getStringConverter () | |
startHandling () | |
handleError ($level, $message, $filePath, $lineNumber) | |
handleException ($e) | |
getTraces ($e) | |
addFakeLineToTrace ($exception, &$trace) | |
getTimeStamp () | |
dieIfFatal ($level, $message, $filePath, $lineNumber) | |
getRequestData ($forLog=true) | |
logError ($levelOrCode, $message, $filePath, $lineNumber, $timeStamp, $traces=array(), $type=null) | |
informUser ($levelOrCode, $message, $filePath, $lineNumber, $timeStamp, $type=null) | |
getErrorPageUrl ($errorText, $info, $cause) | |
errorInErrorPage () | |
getUserErrorText ($levelOrCode, $message, $filePath, $lineNumber, $timeStampString) | |
getUserErrorInfo ($levelOrCode, $message, $filePath, $lineNumber, $timeStampString) | |
getUserErrorCause ($levelOrCode, $message, $filePath, $lineNumber, $timeStampString) | |
getErrorCause ($levelOrCode, $message, $filePath, $lineNumber, $timeStampString) | |
printDebugInfo ($levelOrCode, $message, $filePath, $lineNumber, $timeStamp, $traces, $type=null) | |
truncateBackTrace ($traceArray) | |
isDevelopment () | |
isPhp44RefNotice ($level, $message, $filePath) | |
isPntFile ($filePath) | |
shouldLogException ($e) | |
shouldReportException ($e) | |
Data Fields inherited from PntErrorHandler | |
$logFilePath | |
$oldHandler = null | |
$reportingLevel | |
$errorLevelMap | |
$hasHandledError = false | |
$stringConverter | |
$developmentHost = 'development' | |
$emailAddress | |
$logBacktrace = false | |
Objects of this class log and handle errors using php's set_error_handler function $see http://www.phppeanuts.org/site/index_php/Pagina/32
This concrete subclass is here to keep de application developers code (including localization overrides) separated from the framework code.