PHP Class QErrorHandler, qcodo

If we are in this class, we must assume that the application is in an unstable state. Thus, we cannot depend on any other qcodo or application-based classes or objects to help with the error processing. Therefore, all classes and functionality for error handling must be defined in this class in order to minimize any dependency on the rest of the framework.
Afficher le fichier Open project: qcodo/qcodo Class Usage Examples

Méthodes publiques

Свойство Type Description
$AdditionalMessage
$CliReportWidth
$DateTimeOfError Other Properties
$ErrorAttributeArray
$FileLinesArray Properties that are calculated based on the error information above
$FileNameOfError
$Filename
$IsoDateTimeOfError
$LineNumber
$Message
$MessageBody
$ObjectType
$RenderedPage Static Properties that can be optionally set
$StackTrace
$Type Static Properties that should always be set on any error

Méthodes publiques

Méthode Description
HandleError ( $intErrorNumber, $strErrorString, $strErrorFile, $intErrorLine )
HandleException ( Exception $objException )
PrepDataForScript ( $strData )
VarExport ( mixed $mixData, boolean $blnHtmlEntities = true ) : string A modified version of var_export to use var_dump via the output buffer, which can better handle recursive structures.

Méthodes protégées

Méthode Description
Run ( )

Method Details

HandleError() public static méthode

public static HandleError ( $intErrorNumber, $strErrorString, $strErrorFile, $intErrorLine )

HandleException() public static méthode

public static HandleException ( Exception $objException )
$objException Exception

PrepDataForScript() public static méthode

public static PrepDataForScript ( $strData )

Run() protected static méthode

protected static Run ( )

VarExport() public static méthode

A modified version of var_export to use var_dump via the output buffer, which can better handle recursive structures.
public static VarExport ( mixed $mixData, boolean $blnHtmlEntities = true ) : string
$mixData mixed
$blnHtmlEntities boolean
Résultat string

Property Details

$AdditionalMessage public_oe static_oe property

public static $AdditionalMessage

$CliReportWidth public_oe static_oe property

public static $CliReportWidth

$DateTimeOfError public_oe static_oe property

Other Properties
public static $DateTimeOfError

$ErrorAttributeArray public_oe static_oe property

public static $ErrorAttributeArray

$FileLinesArray public_oe static_oe property

Properties that are calculated based on the error information above
public static $FileLinesArray

$FileNameOfError public_oe static_oe property

public static $FileNameOfError

$Filename public_oe static_oe property

public static $Filename

$IsoDateTimeOfError public_oe static_oe property

public static $IsoDateTimeOfError

$LineNumber public_oe static_oe property

public static $LineNumber

$Message public_oe static_oe property

public static $Message

$MessageBody public_oe static_oe property

public static $MessageBody

$ObjectType public_oe static_oe property

public static $ObjectType

$RenderedPage public_oe static_oe property

Static Properties that can be optionally set
public static $RenderedPage

$StackTrace public_oe static_oe property

public static $StackTrace

$Type public_oe static_oe property

Static Properties that should always be set on any error
public static $Type