Свойство | Тип | Описание | |
---|---|---|---|
$errors | .. | ||
$hide_location | Hide location of errors |
Метод | Описание | |
---|---|---|
__construct ( ) | Constructor - set PHP error handler | |
__destruct ( ) | Destructor | |
addError ( string $errstr, integer $errno, string $errfile, integer $errline, boolean $escape = true ) : void | Add an error; can also be called directly (with or without escaping) | |
countDisplayErrors ( ) : integer | number of errors to be displayed | |
countErrors ( boolean $check = true ) : integer | return count of errors | |
countUserErrors ( ) : integer | return count of user errors | |
dispErrors ( ) : void | displays errors not displayed | |
dispUserErrors ( ) : void | Displays user errors not displayed | |
getCurrentErrors ( ) : |
returns the errors occurred in the current run only. | |
getDispErrors ( ) : string | renders errors not displayed | |
getDispUserErrors ( ) : string | Renders user errors not displayed | |
getErrors ( boolean $check = true ) : |
returns array with all errors | |
handleError ( integer $errno, string $errstr, string $errfile, integer $errline ) : void | Error handler - called when errors are triggered/occurred | |
hasDisplayErrors ( ) : boolean | whether there are errors to display or not | |
hasErrors ( ) : boolean | whether errors occurred or not | |
hasErrorsForPrompt ( ) : boolean | Function to check if there are any errors to be prompted. | |
hasUserErrors ( ) : boolean | whether use errors occurred or not | |
reportErrors ( ) : void | Function to report all the collected php errors. | |
savePreviousErrors ( ) : void | Deletes previously stored errors in SESSION. | |
setHideLocation ( boolean $hide ) : void | Toggles location hiding | |
sliceErrors ( integer $count ) : |
Pops recent errors from the storage | |
triggerError ( string $errorInfo, integer $errorNumber = null ) : void | trigger a custom error |
Метод | Описание | |
---|---|---|
checkSavedErrors ( ) : void | look in session for saved errors | |
dispFatalError ( |
display fatal error and exit | |
dispPageEnd ( ) : void | display HTML footer | |
dispPageStart ( |
display HTML header |
protected checkSavedErrors ( ) : void | ||
Результат | void |
public countDisplayErrors ( ) : integer | ||
Результат | integer | number of errors to be displayed |
public countErrors ( boolean $check = true ) : integer | ||
$check | boolean | Whether to check for session errors |
Результат | integer | number of errors occurred |
public countUserErrors ( ) : integer | ||
Результат | integer | number of user errors occurred |
public dispErrors ( ) : void | ||
Результат | void |
protected dispFatalError ( |
||
$error | the error | |
Результат | void |
protected dispPageStart ( |
||
$error | the error | |
Результат | void |
public dispUserErrors ( ) : void | ||
Результат | void |
public getCurrentErrors ( ) : |
||
Результат |
public getDispErrors ( ) : string | ||
Результат | string |
public getDispUserErrors ( ) : string | ||
Результат | string |
public hasDisplayErrors ( ) : boolean | ||
Результат | boolean |
public hasErrorsForPrompt ( ) : boolean | ||
Результат | boolean | true if there are errors to be "prompted", false otherwise |
public hasUserErrors ( ) : boolean | ||
Результат | boolean |
public reportErrors ( ) : void | ||
Результат | void |
public savePreviousErrors ( ) : void | ||
Результат | void |
public setHideLocation ( boolean $hide ) : void | ||
$hide | boolean | Whether to hide |
Результат | void |
public sliceErrors ( integer $count ) : |
||
$count | integer | Old error count |
Результат |