Methods summary
public static
|
|
public static
|
#
enabled_current_script_debug( array $options = array() )
Enables the debug mode for the current script only.
Enables the debug mode for the current script only.
Parameters
- $options
see
self::enabled_debug_mode()
for information on this parameter
|
public static
|
#
enabled_debug_mode( array $options = array() )
Enables the debug mode
Parameters
- $options
Here is a description of the optional debug parameters that can
be passed in the options array
|
public static
|
|
public static
boolean
|
#
is_debug_mode_enabled( )
Tells whether the debug mode is enabled
Tells whether the debug mode is enabled
Returns
boolean true if enabled, false otherwise
|
public static
boolean
|
#
is_strict_mode_enabled( )
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.
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.
Returns
boolean true if the strict debug mode is enabled
|
public static
boolean
|
#
is_display_database_query_enabled( )
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
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
Returns
boolean true if the display database query is enabled.
|
public static
boolean
|
#
is_output_html( )
Returns true if the page is rendered in a browser mode.
Returns true if the page is rendered in a browser mode.
Returns
boolean true if the page is rendered in a browser mode
|
public static
|
#
set_plain_text_output_mode( )
Inform PHPBoost that the dbug message have to be rendered in a non html (plain text) mode.
Inform PHPBoost that the dbug message have to be rendered in a non html (plain text) mode.
|
public static
|
#
fatal( $exception )
Displays information on an exception and exits
Displays information on an exception and exits
Parameters
- $exception
- exception to display information on
|
public static
|
#
stop( $object = null )
prints the stacktrace and exits
prints the stacktrace and exits
Parameters
|
public static
Exception
|
#
get_exception_context( )
returns the current exception
returns the current exception
Returns
Exception the current exception
|
public static
string
|
#
get_stacktrace( )
returns the current stacktrace
returns the current stacktrace
Returns
string the current stacktrace
|
public static
|
#
get_stacktrace_as_string( $start_trace_index = 0, $exception = null )
print the current stacktrace
print the current stacktrace
|
public static
|
#
print_stacktrace( $start_trace_index = 0, Exception $exception = null )
print the current stacktrace
print the current stacktrace
|
public static
|
#
dump( mixed $object )
executes a
print_r()
in an html <pre> block
executes a
print_r()
in an html <pre> block
Parameters
- $object
- the object to see using print_r
|