Debug
class Debug
This is a place holder. Other than dumpPost() it needs a bit of work.
The goal here is to greate a debug mode where the code streams out a debug log to a string during a request and if we are in developer mode and debugging, the log is shown in the UI in a div that can be toggled like in Wicket or OLAT.
But this needs a bit of work to appear in the UI and so for now, please don't use it until it is cleaned up. Also it should stop using global values and stop being static. But other than that, this is sweet code :).
Methods
static
clear()
No description
static
log($text, $mixed = false)
No description
static
dump()
No description
static
dumpPost()
Dump out the contents of the $_POST properly escaped in pre tags.
Details
at line 26
static
clear()
at line 31
static
log($text, $mixed = false)
at line 68
static
dump()
at line 92
static
dumpPost()
Dump out the contents of the $_POST properly escaped in pre tags.