phpDocumentor pivotx
modules
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Procedural File: module_debug.php

Source Location: /modules/module_debug.php

Page Details

Contains the PivotX debug functions.

Includes
require_once (dirname(dirname(__FILE__)).'/lib.php') [line 41]

If called directly, display the debug log.

[ Top ]

Contains the PivotX debug functions.

[ Top ]


Functions
debug  [line 153]

void debug( string $output  )

Prints a line of output to the debug window

Parameters:
string   $output: 


[ Top ]
debug_printbacktrace  [line 250]

string debug_printbacktrace( [bool $override = false]  )

Prints the debug backtrace in readable form to the output window.

Parameters:
bool   $override: 


[ Top ]
debug_printr  [line 231]

void debug_printr( $array, string $output  )

Prints a 'print_r' to the debug window

Parameters:
string   $output: 
   $array: 


[ Top ]
debug_sep  [line 209]

void debug_sep( string $output  )

Prints a nice seperator to the debug window

Parameters:
string   $output: 


[ Top ]
debug_var_dump  [line 328]

void debug_var_dump( $var, [ $maxlevel = 2], [ $level = 0]  )
Parameters:
   $var: 
   $maxlevel: 
   $level: 


[ Top ]
debug_var_dump_helper  [line 334]

void debug_var_dump_helper( $var, $maxlevel, $level  )
Parameters:
   $var: 
   $maxlevel: 
   $level: 


[ Top ]
open_debug  [line 117]

void open_debug( )

If debug is enabled, this will open the file to which the debug log is written. If the file is "old" it will be reset, otherwise it's opened in append-mode.



[ Top ]
print_debuglink  [line 419]

void print_debuglink( )


[ Top ]
userErrorHandler  [line 384]

void userErrorHandler( integer $errno, string $errmsg, string $filename, integer $linenum, array $vars  )

If debug is enabled this function handles the errors and warnings

Parameters:
integer   $errno: 
string   $errmsg: 
string   $filename: 
integer   $linenum: 
array   $vars: 


[ Top ]
view_log  [line 53]

void view_log( )

Displays the debug log



[ Top ]


Documentation generated on Tue, 05 Sep 2017 01:06:06 +0200 by phpDocumentor 1.4.3