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

Class: PHP_Debug_Renderer_HTML_Table

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

Class Overview

PHP_Debug_Renderer_Common
   |
   --PHP_Debug_Renderer_HTML_Table

A concrete renderer for Debug


Author(s):

Version:

  • CVS: $Id: Table.php,v 1.2 2009/01/12 21:13:00 c0il Exp $

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 24]
A concrete renderer for Debug

Returns a table-based representation of the debug infos in HTML 4



[ Top ]


Method Detail

__construct (Constructor)   [line 31]

PHP_Debug_Renderer_HTML_Table __construct( $DebugObject, $options)

Debug_Renderer_HTML_Table class constructor
  • Since: V2.0.0 - 13 apr 2006

Parameters:

   $DebugObject   — 
   $options   — 

[ Top ]

addSuperArray   [line 897]

void addSuperArray( )

Add the environment display depending on the current configuration
  • Since: V2.0.0 - 18 apr 2006
  • Access: protected

[ Top ]

checkSearch   [line 139]

boolean checkSearch( string $debugLineStr)

This function check if the user has chosen a search criteria and make the search on the formatted debug info
  • Return: Search criteria has been found of search is disabled
  • Since: V2.0.0 - 2 May 2006
  • Access: protected

Parameters:

string   $debugLineStr   —  The formatted debug line object to check

[ Top ]

checkType   [line 165]

boolean checkType( DebugLine $debugLine)

This function check if the user has chosen a filter in the debug type combobox and it returns of the debug line is allowed to be output or no
  • Return: true type is allowed to be
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

Parameters:

DebugLine   $debugLine   —  The debug line object to check

[ Top ]

display   [line 66]

void display( )

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

[ Top ]

displayDebugLine   [line 232]

void displayDebugLine( DebugLine $DebugLine)

This is the function that displays a debug line, each step correspond

to a new cell, actully there are 6 types :

  • File
  • Line
  • Function
  • Class
  • Debug main information
  • Execution time

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

Parameters:

DebugLine   $DebugLine   —  DebugLine, the debug line to process

[ Top ]

displayFooter   [line 213]

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 202]

void displayHeader( )

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

[ Top ]

highlight   [line 112]

string highlight( string $debugLineStr)

This function highligth the searched keyword
  • Return: Formatted string with keyword highligthed
  • Since: V2.0.0 - 2 May 2006
  • Access: protected

Parameters:

string   $debugLineStr   —  The formatted debug line object to check

[ Top ]

processClass   [line 440]

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 297]

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 270]

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 595]

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 490]

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 545]

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 426]

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 191]

void render( )

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

[ Top ]

showDump   [line 654]

void showDump( $properties)

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

Parameters:

   $properties   — 

[ Top ]

showError   [line 816]

void showError( $infos, array $info)

Process an error info
  • See: PHP_DEBUGLINE_PHPERROR
  • Since: V2.0.0 - 25 Apr 2006
  • Access: protected

Parameters:

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

[ Top ]

showProcessTime   [line 932]

void showProcessTime( )

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

[ Top ]

showSearch   [line 713]

void showSearch( )

Process the search combo box
  • Since: V2.0.0 - 26 Apr 2006
  • Access: protected

[ Top ]

showSuperArray   [line 864]

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 770]

void showTemplates( )

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

[ Top ]

span   [line 414]

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 ]


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