UNB Components Code Reference

UnbDebug class

UNB debugging functions.

Public methods

S ErrorHandler

Custom PHP error handler.

S ExceptionHandler

Custom PHP exception handler.

S GetCallTrace

Formats a call trace.

S StartErrorHandling

Registers custom error handlers for unhandled PHP errors and exceptions.

S Trace

Writes a text message into the trace file.

S TrimFilename

Trims path levels outside of this webspace directory from a file name.

Private methods

   Class constructor

Private constructor, does nothing but preventing an unwanted instantiation of this class.

S FormatArgs

Formats the function call arguments of a call trace element.

Private fields

showTrace  –  default: false

Specifies whether errors shall be printed out with a full call trace.

Implementation file: unb.class.php, line 76

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.