Method |
Description |
|
__construct ( integer $errno, string $errstr, string $errfile, integer $errline ) |
Constructor |
|
formatBacktrace ( array $backtrace, string $separator, string $lines ) : string |
return formatted backtrace field |
|
getArg ( string $arg, string $function ) : string |
Get a single function argument |
|
getBacktrace ( integer $count ) : array |
returns PMA\libraries\Error::$_backtrace for first $count frames
pass $count = -1 to get full backtrace. |
|
getBacktraceDisplay ( ) : string |
Get HTML backtrace |
|
getDisplay ( ) : string |
Gets the error as string of HTML |
|
getFile ( ) : string |
returns PMA\libraries\Error::$file |
|
getFunctionCall ( array $step, string $separator ) : string |
Formats function call in a backtrace |
|
getHash ( ) : string |
returns unique PMA\libraries\Error::$hash, if not exists it will be created |
|
getHtmlTitle ( ) : string |
returns title prepared for HTML Title-Tag |
|
getLevel ( ) : string |
returns level of error |
|
getLine ( ) : integer |
returns PMA\libraries\Error::$line |
|
getTitle ( ) : string |
returns title for error |
|
getType ( ) : string |
returns type of error |
|
isUserError ( ) : boolean |
whether this error is a user error |
|
processBacktrace ( array $backtrace ) : array |
Process backtrace to avoid path disclossures, objects and so on |
|
relPath ( string $path ) : string |
return short relative path to phpMyAdmin basedir |
|
setBacktrace ( array $backtrace ) : void |
sets PMA\libraries\Error::$_backtrace |
|
setFile ( string $file ) : void |
sets PMA\libraries\Error::$_file |
|
setHideLocation ( boolean $hide ) : void |
Toggles location hiding |
|
setLine ( integer $line ) : void |
sets PMA\libraries\Error::$_line |
|