Property | Type | Description | |
---|---|---|---|
$the_seo_framework_debug | Cached debug/profile properties. | ||
$the_seo_framework_debug_hidden |
Property | Type | Description | |
---|---|---|---|
$add_debug_output | Whether to accumulate data. | ||
$debug_output | Enqueue the debug output. |
Method | Description | |
---|---|---|
_deprecated_filter ( string $filter, string $version, string $replacement = null ) | Mark a filter as deprecated and inform when it has been used. | |
_deprecated_function ( string $function, string $version, string $replacement = null ) | Mark a function as deprecated and inform when it has been used. | |
_doing_it_wrong ( string $function, string $message, string $version ) | Mark a function as deprecated and inform when it has been used. | |
_inaccessible_p_or_m ( string $p_or_m, string $message = '' ) | Mark a property or method inaccessible when it has been used. | |
debug_init ( string $method, boolean $store, double $debug_key ) : void | Debug init. Simplified way of debugging a function, only works in admin. | |
debug_key_wrapper ( string $key, boolean $ignore = false ) : string | Wrap debug key in a colored span. | |
debug_output ( ) | Echos debug output. | |
debug_screens ( ) | Adds found screens in the admin footer when debugging is enabled. | |
debug_value_wrapper ( string $value, boolean $ignore = false ) : string | Wrap debug value in a colored span. | |
get_debug_information ( mixed $values = null ) : string | Parses input values and wraps them in human-readable elements. | |
get_instance ( ) : object | Gets the class instance. It's set when it's null. | |
has_debug_output ( ) : boolean | Determines if there's debug output. | |
output_debug ( ) | Outputs the debug_output property. | |
output_debug_header ( ) | Outputs the debug header. | |
output_debug_query ( ) | Outputs debug query. | |
profile ( boolean $echo = false, boolean $from_last = false, string $what = 'time', string $key = '' ) : float | Count the timings and memory usage. | |
set_instance ( $debug = null, $hidden = null ) | Sets the class instance. |
Method | Description | |
---|---|---|
__clone ( ) | Cloning of this object is forbidden. | |
__construct ( ) | Constructor. | |
__wakeup ( ) | Unserializing instances of this object is forbidden. | |
error_handler ( array $error, string $message ) | Echos error. | |
error_handler_deprecated ( $code, $message ) | The SEO Framework error handler. | |
error_handler_doing_it_wrong ( $code, $message ) | The SEO Framework error handler. | |
error_handler_inaccessible_call ( $code, $message ) | The SEO Framework error handler. | |
get_debug_header_output ( ) : string | Wraps header output in front-end code. | |
get_debug_query_output ( ) : string | Wraps query status booleans in human-readable code. | |
timer ( $reset = false ) : float | Times code until it's called again. |
final protected __wakeup ( ) |
public _inaccessible_p_or_m ( string $p_or_m, string $message = '' ) | ||
$p_or_m | string | The Property or Method. |
$message | string | A message explaining what has been done incorrectly. |
public debug_init ( string $method, boolean $store, double $debug_key ) : void | ||
$method | string | The function name. |
$store | boolean | Whether to store the output in cache for next run to pick up on. |
$debug_key | double | Use $debug_key as variable, it's reserved. |
return | void | early if debugging is disabled or when storing cache values. |
public debug_screens ( ) |
protected error_handler ( array $error, string $message ) | ||
$error | array | The Error location and file. |
$message | string | The error message. |
protected error_handler_deprecated ( $code, $message ) |
protected error_handler_doing_it_wrong ( $code, $message ) |
protected error_handler_inaccessible_call ( $code, $message ) |
protected get_debug_header_output ( ) : string | ||
return | string | Wrapped SEO meta tags output. |
public get_debug_information ( mixed $values = null ) : string | ||
$values | mixed | Values to be parsed. |
return | string | $output The parsed value. |
protected get_debug_query_output ( ) : string | ||
return | string | Wrapped Query State debug output. |
public static get_instance ( ) : object | ||
return | object | The current instance. |
public static has_debug_output ( ) : boolean | ||
return | boolean | True if there's output. |
public static output_debug ( ) |
public static output_debug_header ( ) |
public profile ( boolean $echo = false, boolean $from_last = false, string $what = 'time', string $key = '' ) : float | ||
$echo | boolean | Whether to echo the total plugin time. |
$from_last | boolean | Whether to echo the differences from the last timing. |
$what | string | Whether to return the time or memory. |
$key | string | When used, it will detach the profiling separately. |
return | float | The timer in seconds. Or memory in Bytes when $what is 'memory'. |
public static set_instance ( $debug = null, $hidden = null ) |