Debug | Summit

Debug is a class to help with error handling. You can trigger errors to be shown with the "error" or "inline_error" template. Generally this class will be used as the php error handler when the debug configuration value located in SYSTEM_PATH/config/config.php set to "debug"


Methods


ShowError($severity, $message, $filepath, $line)

ShowError displays errors generated from the user or PHP.

Usage:
Debug::ShowError(E_ERROR, 'Some Error Message', '/path/to/file.php', 125);








Featured Products