Class for displaying var info and taking time
Located in Program_Root/debugHelper.php (line 74)
the option set, the debug class was created with
dump depth
options for html
options for plain text
start time array
stop time array
Constructor
Defines which type of output is wanted. You can add your own options in an array
array( "type" => one of the constants "spacer" => spacing for one depth level "lf" => linefeed character "structOpen" => opening tags for arrays or objects "structClose" => closing tags for arrays or objects "specialOpen" => opening tags for lf, tab, newline "specialClose" => closing tags for lf, tab, newline "useErrorHandler" => true, if the internal error handler be called "echoResult" => true, if the result of dump() should be echoed "returnResult" => true, if the result of dump() should be returned "convertHtml" => true, if the special html chars should be converted "convertSpecial" => true, if the /n, /t should be converted "dumpObjectFunctions" => true, if the obj. functions should be displayed "dumpObjectVars" => true, if the obj. vars should be displayed "dumpObjectInheritance" => true, if the obj. inheritance should be displayed );
Dumps content of a variable
Is able to dump all numeric values, Strings, Arrays, Objects and Resource Types
Returns the options for a certain type
Returns the type options plus additonal ones, you provided
Returns the current time
Returns the current time or 0, if id does not exist.
Highlights a file
Highlights the file source and adds line numbers
Echos a message
Good for checking if a certain part of your source code is accessed
Starts timing
A unique id an be given for several timings.
Stops timing
Stops timing and returns current value.
Calls function according to the variable type
Basically works like dump() but can call user defined functions
function array array( "object" => "_dumpObject", "array" => "_dumpArray", "integer" => "_dumpInteger", "float" => "_dumpFloat", "double" => "_dumpDouble", "long" => "_dumpLong", "string" => "_dumpString", "bool" => "_dumpBoolean", "resource" => "_dumpResource", "null" => "_dumpNull", "unknown" => "_dumpUnknown", "i_am_done" => "_dumpComplete" );
Converts an array to html table data
Returns html data for a given 1 or 2 dimensional array
Calculates the time from an timer id
Called by stopTimer() and getTime()
Calls the function with given parameters
Calls functions inside or outside the class
Dumps an array
Is called by the dump() method.
Dumps a boolean
Is called by the dump() method.
Is called when the dump is complete
Is called by the dump() method.
Dumps a double
Is called by the dump() method.
Dumps a float
Is called by the dump() method.
Dumps an integer
Is called by the dump() method.
Dumps a long
Is called by the dump() method.
Dumps null
Is called by the dump() method.
Dumps an object
Is called by the dump() method.
Dumps an Resource
Is called by the dump() method.
Dumps a string
Is called by the dump() method.
Dumps unknown
Is called by the dump() method.
Documention generated on Mon, 7 Jul 2003 22:40:54 +0200 by phpDocumentor 1.2.1