API - XOOPS 2.5.11 Beta 2
By monxoops.fr
Debug Class Reference
Inheritance diagram for Debug:
Collaboration diagram for Debug:

Static Public Member Functions

static dump ($data=null)
 
static backtrace ()
 
static startTrace ($tracefile='', $collect_params='3', $collect_return='On')
 
static stopTrace ()
 

Member Function Documentation

◆ backtrace()

static backtrace ( )
static

Display debug backtrace

Returns
void

◆ dump()

static dump (   $data = null)
static

Dump one or more variables

Parameters
mixed$datavariable(s) to dump
Returns
void

◆ startTrace()

static startTrace (   $tracefile = '',
  $collect_params = '3',
  $collect_return = 'On' 
)
static

start_trace - turn on xdebug trace

Requires xdebug extension

Parameters
string$tracefilefile name for trace file
string$collect_paramsargument for ini_set('xdebug.collect_params',?) Controls display of parameters in trace output
string$collect_returnargument for ini_set('xdebug.collect_return',?) Controls display of function return value in trace
Returns
void

◆ stopTrace()

static stopTrace ( )
static

stop_trace - turn off xdebug trace

Requires xdebug extension

Returns
void

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