Source for file HTML_Table_Config.php
Documentation is available at HTML_Table_Config.php
* Configuration file for HTML_Table renderer
* @author Loic Vernet <qrf_coil at yahoo dot fr>
* Config container for Debug_Renderer_HTML_Table
* @since V2.0.0 - 11 apr 2006
static $options = array();
* Static Instance of class
* @since V2.0.0 - 11 apr 2006
* Debug_Renderer_HTML_Table_Config class constructor
* @since V2.0.0 - 11 apr 2006
* Enable or disable Credits in debug infos
self::$options['HTML_TABLE_disable_credits'] = false;
* Enable or disable included and required files
self::$options['HTML_TABLE_show_templates'] = true;
* Enable or disable pattern removing in included files
self::$options['HTML_TABLE_remove_templates_pattern'] = false;
* Pattern list to remove in the display of included files
* if HTML_TABLE_remove_templates_pattern is set to true
self::$options['HTML_TABLE_templates_pattern'] = array();
* Enable or disable visualisation of $globals var in debug
self::$options['HTML_TABLE_show_globals'] = false;
* Enable or disable search in debug
self::$options['HTML_TABLE_enable_search'] = true;
* Enable or disable view of super arrays
self::$options['HTML_TABLE_show_super_array'] = true;
* Enable or disable the use of $_REQUEST array instead of
* $_POST + _$GET + $_COOKIE + $_FILES
self::$options['HTML_TABLE_use_request_arr'] = false;
* View Source script path
self::$options['HTML_TABLE_view_source_script_path'] = '.';
* View source script file name
self::$options['HTML_TABLE_view_source_script_name'] = 'source.php';
* Tabsize for view source script
self::$options['HTML_TABLE_view_source_tabsize'] = 4;
* Tabsize for view source script
self::$options['HTML_TABLE_view_source_numbers'] = 2; //HL_NUMBERS_TABLE
* Define wether the display must be forced for the debug type when
self::$options['HTML_TABLE_search_forced_type'] = array(
PHP_DEBUGLINE_STD => false,
* After this goes all HTML related variables
self::$options['HTML_TABLE_header'] = '
<a name="pd-anchor" id="pd-anchor" />
<table class="pd-table" cellspacing="0" cellpadding="0" width="100%">
<td class="pd-table-header" align="center">File</td>
<td class="pd-table-header" align="center">Line</td>
<td class="pd-table-header" align="center">Inside/From function</td>
<td class="pd-table-header" align="center">Inside/From Class</td>
<td class="pd-table-header" align="center">Type</td>
<td class="pd-table-header" align="center">Debug information</td>
<td class="pd-table-header" align="center">Execution time (sec)</td>
self::$options['HTML_TABLE_credits'] = '
PHP_Debug ['. PHP_DEBUG_RELEASE . '] | By COil (2006) |
<a href="mailto:qrf_coil@yahoo.fr">qrf_coil@yahoo.fr</a> |
<a href="http://phpdebug.sourceforge.net/">PHP_Debug Project Home</a>
self::$options['HTML_TABLE_stylesheet'] = '
font-family: tahoma, arial, sans-serif;
border-bottom: solid 1px Navy;
font-family: tahoma, arial, sans-serif;
border-bottom: solid 1px Navy;
border-right: solid 1px Navy;
/* 5 - Application error */
background-color: orange;
font-family: tahoma, arial, sans-serif;
font-family: tahoma, arial, sans-serif;
/* Highligthed search keyword */
background-color: yellow;
background-color: LightSteelBlue;
background-color: LightSteelBlue;
background-color: yellow;
background-color: orange;
* View source style sheet
self::$options['HTML_TABLE_view_source_stylesheet'] = '
background-color: #F5F5F5;
background-color: #999999;
border: solid 1px Lightgrey;
border: solid 1px Lightgrey;
background-color: #F0F0F0;
* HTML code for a basic header
self::$options['HTML_TABLE_simple_header'] = '<?xml version="1.0" encoding="UTF-8"?>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<title>Pear::PHP_Debug</title>
* HTML code for a basic footer
self::$options['HTML_TABLE_simple_footer'] = '
* HTML pre-row code for debug column file
self::$options['HTML_TABLE_prerow'] = '
* HTML pre-row code for debug column file
self::$options['HTML_TABLE_interrow_file'] = '
<td class="pd-td" align="center">';
* HTML post-row code for debug column line (centered)
self::$options['HTML_TABLE_interrow_line'] = '
<td class="pd-td" align="center">';
self::$options['HTML_TABLE_interrow_function'] = self::$options['HTML_TABLE_interrow_line'];
self::$options['HTML_TABLE_interrow_class'] = self::$options['HTML_TABLE_interrow_line'];
self::$options['HTML_TABLE_interrow_type'] = self::$options['HTML_TABLE_interrow_line'];
self::$options['HTML_TABLE_interrow_time'] = self::$options['HTML_TABLE_interrow_line'];
* HTML pre-row code for debug column info
self::$options['HTML_TABLE_interrow_info'] = '
<td class="pd-td" align="left">';
* HTML post-row code for debugline
self::$options['HTML_TABLE_postrow'] = '
self::$options['HTML_TABLE_footer'] = '
* returns the static instance of the class
* @since V2.0.0 - 11 apr 2006
if (!isset (self::$instance)) {
self::$instance = new $class;
* returns the configuration
* @since V2.0.0 - 07 apr 2006
* @since V2.0.0 - 26 Apr 2006
return '<pre>'. Debug::dumpVar($this->singleton()->getConfig(), __CLASS__ , PHP_DEBUG_DUMP_ARR_STR). '</pre>';
|