Methods

Add a Debug item to internal collection.

add(mixed $mVariable, string $sVariableDescription) : \void;

access public

Parameters

$mVariable

mixed

$sVariableDescription

string

Returns

\void;

Implemenation of Countable interface

count() : int

access public

Returns

int

static

getInstance() 

access public

Reset internal collection with Debug items.

reset() : void

access public

Outputs contents of passed variable in a preformatted, readable way

show(mixed $mVariable, string $sVariableDescription, boolean $bExit) : void

access public

Parameters

$mVariable

mixed

The variable to be displayed

$sVariableDescription

string

The variable's name or description

$bExit

boolean

If set to true, your app will die() after output of current var

Outputs all Debug items in collection to screen in a HTML Box at left top of page.

showAll() : void

access public

Constructor

__construct() 

access private

Prepares Debug item value for output as string representation.

_prepareValue(mixed $mValue) : string

access private

Parameters

$mValue

mixed

Returns

string

_useXDebug()

_useXDebug() 

 Properties

 

$_aItems

$_aItems 

 

$_instance

$_instance