Procedural File: debug.php
Source Location: /pnobjlib/debug.php
Classes:
- Timer
- Simple timer class to measure code execution times.
Page Details:
Zikula Application Framework
Tags:
pn_assert_callback_function [line 24]
void pn_assert_callback_function(
file $file, line $line, assert_trigger $assert_trigger)
|
|
log a string to the designated output destination
Parameters
| file |
$file |
The file (passed from assertion handler) |
| line |
$line |
The line (passed from assertion handler) |
| assert_trigger |
$assert_trigger |
The assert trigger (passed from assertion handler) |
pn_exit [line 39]
void pn_exit(
msg $msg, [html $html = true])
|
|
Exit the program after displaying the appropriate messages
Parameters
| msg |
$msg |
The messgage to show |
| html |
$html |
whether or not to generate HTML (can be turned off for command line execution) |
prayer [line 160]
nothing, prayer(
data $data, [functions $functions = false])
|
|
Serialize the given data in an easily human-readable way for debug purposes
Taken from http://dev.nexen.net/scripts/details.php?scripts=707
Tags:
Parameters
| data |
$data |
The object to serialize |
| functions |
$functions |
whether to show function names for objects (default=false) (optional) |
_prayer [line 79]
string _prayer(
data $data, [functions $functions = false], $recursionLevel)
|
|
Serialize the given data in an easily human-readable way for debug purposes
Taken from http://dev.nexen.net/scripts/details.php?scripts=707
Tags:
Parameters
| data |
$data |
The object to serialize |
| functions |
$functions |
whether to show function names for objects (default=false) (optional) |
| |
$recursionLevel |
|