Summary
- File
- Package hierarchy Util
- Class hierarchy \Debug
__static()
None found |
enabled_current_script_debug(\mixed[string] $options = array())
Enables the debug mode for the current script only.
\mixed[string] | $options | see |
None found |
enabled_debug_mode(\mixed[string] $options = array())
Enables the debug mode
\mixed[string] | $options | Here is a description of the optional debug parameters that can be passed in the options array
|
None found |
disable_debug_mode()
Disables the debug mode
None found |
is_debug_mode_enabled() : boolean
Tells whether the debug mode is enabled
true if enabled, false otherwise
None found |
is_strict_mode_enabled() : boolean
Returns true if the strict debug mode is enabled.
If true, the page processing will be stopped if any notice, warning or error is encountered.
true if the strict debug mode is enabled
None found |
is_display_database_query_enabled() : boolean
Returns true if the display database query is enabled.
If true, the page display a database query with the Debug::dump() function and display stacktrace
true if the display database query is enabled.
None found |
is_output_html() : boolean
Returns true if the page is rendered in a browser mode.
true if the page is rendered in a browser mode
None found |
set_plain_text_output_mode()
Inform PHPBoost that the dbug message have to be rendered in a non html (plain text) mode.
None found |
fatal( $exception)
Displays information on an exception and exits
$exception | the exception to display information on |
None found |
stop( $object = null)
prints the stacktrace and exits
$object |
None found |
get_exception_context() : \Exception
returns the current exception
the current exception
None found |
get_stacktrace() : string
returns the current stacktrace
the current stacktrace
None found |
get_stacktrace_as_string( $start_trace_index, $exception = null)
print the current stacktrace
$start_trace_index | ||
$exception |
None found |
print_stacktrace( $start_trace_index, \Exception $exception = null)
print the current stacktrace
$start_trace_index | ||
\Exception | $exception |
None found |
dump(mixed $object)
executes a <code>print_r()</code> in an html <pre> block
mixed | $object | the object to see using print_r |
None found |
write_debug_file()
None found |
get_option( $key, $default)
$key | ||
$default |
None found |