PHP Class PHPFusion\Errors

Datei anzeigen Open project: php-fusion/PHP-Fusion Class Usage Examples

Public Properties

Property Type Description
$compressed
$no_notice

Public Methods

Method Description
__construct ( )
display_administration ( ) Administration Console
getGitsrc ( $file, $line_number )
getInstance ( $key = 'default' )
setError ( $error_level, $error_message, $error_file, $error_line, $error_context ) Custom error handler for PHP processor
showFooterErrors ( ) Use this function to show error logs

Private Methods

Method Description
codeWrap ( $code, $maxLength = 150 )
errorjs ( )
getErrorLogs ( ) : string Displays error logs HTML
getMaxFolders ( $url, $level = 2 )
get_errorTypes ( $type )
get_logTypes ( )
printCode ( $source_code, $starting_line, $error_line = "", array $error_message = [] )

Method Details

__construct() public method

public __construct ( )

display_administration() public method

Administration Console

getGitsrc() public static method

public static getGitsrc ( $file, $line_number )

getInstance() public static method

public static getInstance ( $key = 'default' )

setError() public method

Custom error handler for PHP processor
public setError ( $error_level, $error_message, $error_file, $error_line, $error_context )
$error_level
$error_message
$error_file
$error_line
$error_context

showFooterErrors() public method

Use this function to show error logs
public showFooterErrors ( )

Property Details

$compressed public_oe property

public $compressed

$no_notice public_oe property

public $no_notice