Debugger

Class Methods

The following methods can be invoked on instances of this class.

pushSensitiveStack()

If the sensitive stack is pushed, then no parameter data will be displayed in the stack

popSensitiveStack()

If the sensitive stack is pushed, then no parameter data will be passed

getCallstack()

Returns the callstack

getCallstackFormatted(array arrTrace)

Returns the call stack as a formatted string

renderCallstackCollapsed(array arrTrace)

Renders the call stack collapsed with the ability to expand it

renderCallstack(array arrTrace)

Renders the call stack

getEnvironmentFormatted()

Returns environment information as a formatted string

renderEnvironment()

Renders information about the current request environment

renderEnvironmentCollapsed()

Renders the call stack collapsed with the ability to expand it

getErrorTypeFromLevel(int iLevel)

Returns the name of the error type from a level

getHTMLEscapeTags()

Returns a series of tags which attempts to escape any open tags which
may prevent the error from showing.

getErrorFormatted(mixed strTitle, mixed strDescription, mixed arrTrace)

Returns the error as a formatted string

renderError(mixed strTitle, mixed strDescription, mixed arrTrace)

Renders an error

emailError(mixed strTitle, mixed strDescription, array arrTrace)

Sends an email to the technical support team with a message describing the error

deprecate(mixed strReason, mixed arrTrace)

Deprecates an area of source

isHTML()

sendEmails()

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class