static void addToBuffer(
$string, [string
$type = "errstr"]
)
|
|
Attach message to the end of buffer array
Parameters:
string |
$type: |
the array key in the buffer |
|
$string: |
|
API Tags:
static void bufferLog(
mixed
$string, [mixed
$statement = null], [string
$function = null], [string
$class = null]
)
|
|
Write messsage to log panel
Parameters:
mixed |
$string: |
the string to pass |
mixed |
$statement: |
some statement if required |
string |
$function: |
the name of the function |
string |
$class: |
the name of the class |
API Tags:
Information Tags:
static void bufferSql(
mixed
$string, [mixed
$statement = null], [string
$function = null], [string
$class = null]
)
|
|
Write message to sql panel
Parameters:
mixed |
$string: |
the string to pass |
mixed |
$statement: |
some statement if required |
string |
$function: |
the name of the function |
string |
$class: |
the name of the class |
API Tags:
Information Tags:
static void checkReferer(
)
|
|
Check if debug parameters are set on referer url
API Tags:
static void debugLoader(
[array
$options = null]
)
|
|
Load the debug interface if requested
Parameters:
API Tags:
Information Tags:
static void errorHandler(
string
$errno, string
$errstr, string
$errfile, string
$errline
)
|
|
Handle php errors
Parameters:
string |
$errno: |
error number (php standards) |
string |
$errstr: |
error string |
string |
$errfile: |
error file |
string |
$errline: |
error line |
API Tags:
static void setErrorHandler(
[string
$dieIfFatalError = true]
)
|
|
Set the error handler to be the debug class. good for production if param is set to false
Parameters:
string |
$dieIfFatalError: |
die if fatal error occurs |
API Tags:
Information Tags:
static void showInterface(
)
|
|
Show the debug interface
API Tags:
static void stopTimer(
[string|numeric
$precision = 1]
)
|
|
Monitor the execution of something
Parameters:
string|numeric |
$precision: |
sec/ms |
API Tags:
Information Tags:
static void _buildBuffer(
string
$type, mixed
$string, [mixed
$statement = null], [string
$function = null], [string
$class = null]
)
|
|
Build the buffer
Parameters:
string |
$type: |
log/sql |
mixed |
$string: |
the string to pass |
mixed |
$statement: |
some statement preceding the string |
string |
$function: |
the name of the function |
string |
$class: |
the name of the class |
API Tags:
static void _buildHtmlTable(
string
$type
)
|
|
Build the html log and sql tables
Parameters:
API Tags:
static void _buildInnerVars(
string
$panelId, string
$linkTitle, string
$array
)
|
|
Build the inner vars div
Parameters:
string |
$panelId: |
the id of the panel to show/hide |
string |
$linkTitle: |
the title orf the link |
string |
$array: |
array of parameters |
API Tags:
static void _buildInterface(
)
|
|
Build the debug interface
API Tags:
static void _buildMenu(
)
|
|
Build the debug menu
API Tags:
static void _buildMsgPanel(
)
|
|
Build the log panel
API Tags:
static void _buildPhpInfo(
)
|
|
Format phpinfo() function
API Tags:
static void _buildQueriesPanel(
)
|
|
Build the sql panel
API Tags:
static void _buildTimerPanel(
)
|
|
Build the timer panel
API Tags:
static void _buildVarsPanel(
)
|
|
Build the vars panel
API Tags:
static void _buildW3cPanel(
)
|
|
Build the W3C panel
API Tags:
static void _checkAccess(
[string|array
$allowedIps = null]
)
|
|
Check if ip has access
Parameters:
string|array |
$allowedIps: |
the ip's that are allowed |
API Tags:
static void _cleanBuffer(
string
$var
)
|
|
Remove html entities from the buffer
Parameters:
API Tags:
static void _compressHtml(
$html
)
|
|
Compress the html before render
Parameters:
API Tags:
static void _debugTrace(
)
|
|
Trace php
API Tags:
static void _includeCss(
)
|
|
Include the css for the debug interface
API Tags:
static void _includeJs(
)
|
|
Include the javascript for the debug interface
API Tags:
static void _lastError(
)
|
|
Get fatal error on shutdown
API Tags:
static void _menuLinks(
string
$Id, string
$title, string
$text
)
|
|
Build the debug menu links
Parameters:
string |
$Id: |
the panel id |
string |
$title: |
the panel title |
string |
$text: |
the text for the link |
API Tags:
static void _msgType(
[string|numeric
$msg = NULL]
)
|
|
Check message types
Parameters:
string|numeric |
$msg: |
(php standards) |
API Tags:
static void _phpInfoArray(
)
|
|
Format phpinfo() into an array
API Tags:
static void _sortBuffer(
)
|
|
Sort the buffer
API Tags: