TITAN Library for PHP5  5.1.0
Web Software Development Kit for PHP5
dprint Class Reference

Titan Debug dprint() Function. More...

Detailed Description

Titan Debug dprint() Function.

Class: \tl\debug\dprint

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
1.0.0

Create a sensible display of a mixed variable for debugging.

Functions exposed in the \ namespace:

function &dprint()
  Debug Print, buffer if available, otherwise echo and return debug output
    Usage: dprint($var[, $var[, $var[, $var[, $var]]]]);

function &d()
  Debug Print, buffer if available, otherwise echo, and return debug output
    Usage: d($var...);

function dd()
  Debug Print, buffer (and complete) if available, otherwise echo, then die
    Usage: dd($var...);

function &dt()
  Debug Print with Trace, buffer if available, otherwise echo and return debug output
    Usage: dt($var...);

function ddt()
  Debug Print with Trace, buffer (and complete) if available, otherwise echo, then die
    Usage: ddt($var...);

function de($error)
  Create a dprint_error object for special handling and pass it to dd()
    Usage: de('Some error message');

function det($error)
  Create a dprint_error object for special handling and pass it to ddt()
    Usage: det('Some error message');

The documentation for this class was generated from the following file: