Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page debug.php

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:

author:  Robert Gasch rgasch@gmail.com
version:  $Id: debug.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  Robert Gasch
link:  http://www.zikula.org
license:  GNU/GPL








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)
[ Top ]



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)
[ Top ]



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:

return:  the data is directly printed


Parameters

data   $data   The object to serialize
functions   $functions   whether to show function names for objects (default=false) (optional)
[ Top ]



_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:

return:  A string containing serialized data


Parameters

data   $data   The object to serialize
functions   $functions   whether to show function names for objects (default=false) (optional)
   $recursionLevel  
[ Top ]


Packages:

Files:

Classes: