PHP_Debug
[ class tree: PHP_Debug ] [ index: PHP_Debug ] [ all elements ]

Class: PHP_Debug_Renderer_HTML_Div

Source Location: /PHP_Debug-1.0.3/PHP/Debug/Renderer/HTML/Div.php

Class Overview

PHP_Debug_Renderer_Common
   |
   --PHP_Debug_Renderer_HTML_Div

A floating div renderer for PHP_Debug


Author(s):

Version:

  • CVS: $Id: Common.php,v 1.1 2008/05/02 14:26:37 c0il Exp $

Variables

Methods


Inherited Variables

Inherited Methods

Class: PHP_Debug_Renderer_Common

PHP_Debug_Renderer_Common::setOptions()
Set run-time configuration options for the renderer
PHP_Debug_Renderer_Common::__destruct()
PHP_DebugOutput class destructor
PHP_Debug_Renderer_Common::__toString()
Default output function

Class Details

[line 34]
A floating div renderer for PHP_Debug

Returns a floating based representation of the debug infos in XHTML sctrict format



[ Top ]


Class Variables

$databaseTypes = array(
        PHP_DebugLine::TYPE_QUERY,
        PHP_DebugLine::TYPE_QUERYREL,
        PHP_DebugLine::TYPE_SQLPARSE,
    )

[line 53]

  • Access: protected

Type:   mixed


[ Top ]

$msgTypes = array(
        PHP_DebugLine::TYPE_STD,
        PHP_DebugLine::TYPE_PAGEACTION,
        PHP_DebugLine::TYPE_APPERROR,
        PHP_DebugLine::TYPE_CREDITS,
        PHP_DebugLine::TYPE_DUMP,
        PHP_DebugLine::TYPE_WATCH,
        PHP_DebugLine::TYPE_PHPERROR
    )

[line 42]

  • Access: protected

Type:   mixed


[ Top ]

$settingsType = array(
        PHP_DebugLine::TYPE_ENV,
    )

[line 37]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 64]

PHP_Debug_Renderer_HTML_Div __construct( $DebugObject, $options)

Debug_Renderer_HTML_Div class constructor
  • Since: V2.1.0 - 3 apr 2007

Parameters:

   $DebugObject   — 
   $options   — 

[ Top ]

addW3CErrorInfos   [line 141]

void addW3CErrorInfos( $res, $key)

Add the debug informations of the W3C validation process
  • Author: Vernet Loïc
  • Since: 2.1.0 - 23 avr. 2007
  • Access: protected

Parameters:

   $res   — 
   $key   — 

[ Top ]

display   [line 85]

void display( )

This is the function to display the debug informations
  • See: PHP_Debug::Render()
  • Since: V2.0.0 - 07 Apr 2006
  • Access: public

[ Top ]

displayFooter   [line 598]

void displayFooter( )

Diplays the footer of the PHP_Debug object
  • See: PHP_Debug
  • Since: V2.0.0 - 08 Apr 2006
  • Access: protected

[ Top ]

displayHeader   [line 574]

void displayHeader( )

Displays the header of the PHP_Debug object
  • See: PHP_Debug
  • Since: V2.0.0 - 08 Apr 2006
  • Access: protected

[ Top ]

getDebugLevelClass   [line 333]

void getDebugLevelClass( $debug_level)

Get the image info for the current debug type
  • Author: COil
  • Since: V2.1.0 - 2 avp 2007
  • Access: protected

Parameters:

   $debug_level   — 

[ Top ]

getImageInfo   [line 344]

void getImageInfo( $debug_level)

Get the image info for the current debug type
  • Author: COil
  • Since: V2.1.0 - 2 avp 2007
  • Access: protected

Parameters:

   $debug_level   — 

[ Top ]

getLogInfoLevel   [line 264]

void getLogInfoLevel( array $properties)

Get the log level of the debug info
  • Author: COil
  • Since: V2.1.0 - 2 avr. 2007
  • Access: protected

Parameters:

array   $properties   —  debug row

[ Top ]

getPhpErrorLevel   [line 296]

void getPhpErrorLevel( array $properties)

Return the global error level corresponding to the related php error level
  • Author: COil
  • Since: 2.1.0 - 3 apr 2007
  • Access: protected

Parameters:

array   $properties   —  debug row

[ Top ]

globalsAsArray   [line 425]

array globalsAsArray( )

Returns PHP globals variables as a sorted array.
  • Return: PHP globals
  • Since: V2.1.0 - 2 apr 2007
  • Access: public

[ Top ]

phpInfoAsArray   [line 452]

array phpInfoAsArray( )

Returns PHP information as an array.
  • Return: An array of php information
  • Since: V2.1.0 - 2 apr 2007
  • Access: public

[ Top ]

processClass   [line 759]

string processClass( array $properties)

process display of Class
  • Return: Formatted string containing the class
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

processDebugInfo   [line 640]

string processDebugInfo( array $properties)

process display of the main information of debug
  • Return: Formatted string containing the main debug info
  • Since: V2.0.0 - 28 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

processExecTime   [line 610]

string processExecTime( array $properties)

process display of the execution time of debug information
  • Return: Formatted string containing the main debug info
  • Since: V2.0.0 - 28 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

processFile   [line 908]

string processFile( array $properties)

process display of file name
  • Return: Formatted string containing the file
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

processFunction   [line 807]

string processFunction( array $properties)

process display of function
  • Return: Formatted string containing the function
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

processLine   [line 859]

string processLine( array $properties)

process display of line number
  • Return: Formatted string containing the line number
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

processType   [line 746]

string processType( array $properties)

process display of the type of the debug information
  • Return: Formatted string containing the debug type
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

array   $properties   —  Properties of the debug line

[ Top ]

render   [line 563]

void render( )

Default render function for HTML_Div renderer
  • See: Renderer
  • Since: V2.0.0 - 11 Apr 2006
  • Access: public

[ Top ]

settingsAsArray   [line 406]

void settingsAsArray( $debugInfos)

Return all settings of application
  • Author: COil
  • Since: V2.1.0 - 2 apr 2007
  • Access: public

Parameters:

   $debugInfos   — 

[ Top ]

showArray   [line 1189]

void showArray( $array, $name, string $SuperArrayType)

Displays an array.
  • Since: V2.0.0 - 07 Apr 2006
  • Access: protected

Parameters:

string   $SuperArrayType   —  Type of super en array to add
   $array   — 
   $name   — 

[ Top ]

showDatabaseInfos   [line 188]

void showDatabaseInfos( array $debugInfos)

Shows vars & config
  • Author: COil
  • Since: V2.1.0 - 30 march 2007
  • Access: protected

Parameters:

array   $debugInfos   —  debug row

[ Top ]

showDump   [line 966]

void showDump( $properties)

Dump of a variable
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

   $properties   — 

[ Top ]

showError   [line 1101]

void showError( $infos, array $info)

Process an error info

Parameters:

array   $info   —  Array containing information about the error
   $infos   — 

[ Top ]

showLogsAndMsg   [line 214]

void showLogsAndMsg( $debugInfos)

Shows vars & config
  • Author: COil
  • Since: V2.1.0 - 30 march 2007
  • Access: protected

Parameters:

   $debugInfos   — 

[ Top ]

showProcessTime   [line 476]

void showProcessTime( $debugInfos)

Add the process time information to the debug information
  • Since: V2.0.0 - 18 Apr 2006
  • Access: protected

Parameters:

   $debugInfos   — 

[ Top ]

showSuperArray   [line 1153]

void showSuperArray( string $SuperArrayType)

Show a super array
  • Since: V2.0.0 - 07 Apr 2006
  • Access: protected

Parameters:

string   $SuperArrayType   —  Type of super en array to add

[ Top ]

showTemplates   [line 1030]

void showTemplates( )

Get the templates info
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

[ Top ]

showVarsAndConfig   [line 373]

void showVarsAndConfig( $debugInfos)

Shows vars & config
  • Author: COil
  • Since: V2.1.0 - 30 march 2007
  • Access: protected

Parameters:

   $debugInfos   — 

[ Top ]

showW3cValidation   [line 122]

void showW3cValidation( )

Show W3C validator tab
  • Author: COil
  • Since: V2.1.1 - 23 apr 2007
  • Access: protected

[ Top ]

span   [line 734]

string span( string $info, string $class)

Return a string with applying a span style on it
  • Return: Formatted string with style applied
  • Since: V2.0.0 - 05 May 2006
  • Access: protected

Parameters:

string   $info   —  String to apply the style
string   $class   —  CSS style to apply to the string

[ Top ]

truncate   [line 1083]

void truncate( string $file)

Truncate/replace a pattern from the file path
  • Author: COil
  • See: - HTML_DIV_remove_templates_pattern - HTML_DIV_templates_pattern
  • Since: V2.1.0 - 3 apr 2007
  • Access: protected

Parameters:

string   $file   —  full file path

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:28:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.