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

Class: Debug_Renderer_HTML_Table

Source Location: /sources/Debug/Renderer/HTML_Table.php

Class Debug_Renderer_HTML_Table

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Debug_Renderer_Common

Debug_Renderer_Common::$DebugObject
Debug_Renderer_Common::$defaultOptions
Debug_Renderer_Common::$options

Inherited From Debug_Renderer_Common

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

[ Top ]
Method Summary
Debug_Renderer_HTML_Table   __construct()   Debug_Renderer_HTML_Table class constructor
void   addSuperArray()   Add the environment display depending on the current configuration
boolean   checkSearch()   This function check if the user has chosen a search criteria and
boolean   checkType()   This function check if the user has chosen a filter in the debug type
void   display()   This is the function to display the debug information
void   displayDebugLine()   This is the function that displays a debug line, each step correspond
void   displayFooter()   Diplays the footer of the PHP_Debug object
void   displayHeader()   Displays the header of the PHP_Debug object
string   getStyleSheet()   Return the style sheet of the HTML_TABLE debug object
string   highlight()   This function highligth the searched keyword
string   processClass()   process display of Class
string   processDebugInfo()   process display of the main information of debug
string   processExecTime()   process display of the execution time of debug information
string   processFile()   process display of file name
string   processFunction()   process display of function
string   processLine()   process display of line number
string   processType()   process display of the type of the debug information
void   render()   Default render function for HTML_Table renderer
void   showDump()   Print the dump of a variable
void   showError()   Print an error
void   showProcessTime()   Add the process time information to the debug information
void   showSearch()   Print the search combo box
void   showSuperArray()   Show a super array
void   showTemplates()   Print the templates
string   span()   Return a string with applying a span style on it

[ Top ]
Methods
Constructor __construct  [line 30]

  Debug_Renderer_HTML_Table __construct( $DebugObject, $options  )

Debug_Renderer_HTML_Table class constructor

Debug_Renderer_HTML_Table class constructor

Parameters:
   $DebugObject: 
   $options: 

Information Tags:
Since:  V2.0.0 - 13 apr 2006

[ Top ]
addSuperArray  [line 875]

  void addSuperArray( )

Add the environment display depending on the current configuration

Add the environment display depending on the current configuration


API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 18 apr 2006

[ Top ]
checkSearch  [line 136]

  boolean checkSearch( string $debugLineStr  )

This function check if the user has chosen a search criteria and

This function check if the user has chosen a search criteria and make the search on the formatted debug info

Parameters:
string   $debugLineStr:  The formatted debug line object to check

API Tags:
Return:  Search criteria has been found of search is disabled
Access:  protected

Information Tags:
Since:  V2.0.0 - 2 May 2006

[ Top ]
checkType  [line 161]

  boolean checkType( Debug_Line $debugLine  )

This function check if the user has chosen a filter in the debug type

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

Parameters:
Debug_Line   $debugLine:  The debug line object to check

API Tags:
Return:  true type is allowed to be
Access:  protected

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
display  [line 65]

  void display( )

This is the function to display the debug information

This is the function to display the debug information


API Tags:
Access:  public
See:  Debug::Render()

Information Tags:
Since:  V2.0.0 - 07 Apr 2006

[ Top ]
displayDebugLine  [line 228]

  void displayDebugLine( Debug_Line $DebugLine  )

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

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

Parameters:
Debug_Line   $DebugLine:  DebugLine, the debug line to process

API Tags:
Access:  protected

Information Tags:
Since:  V2.0.0 - 07 Apr 2006

[ Top ]
displayFooter  [line 209]

  void displayFooter( )

Diplays the footer of the PHP_Debug object

Diplays the footer of the PHP_Debug object


API Tags:
Access:  protected
See:  PHP_Debug

Information Tags:
Since:  08 Apr 2006

[ Top ]
displayHeader  [line 198]

  void displayHeader( )

Displays the header of the PHP_Debug object

Displays the header of the PHP_Debug object


API Tags:
Access:  protected
See:  PHP_Debug

Information Tags:
Since:  08 Apr 2006

[ Top ]
getStyleSheet  [line 958]

  string getStyleSheet( )

Return the style sheet of the HTML_TABLE debug object

Return the style sheet of the HTML_TABLE debug object


API Tags:
Return:  The stylesheet
Access:  public

Information Tags:
Since:  13 Apr 2006

[ Top ]
highlight  [line 112]

  string highlight( string $debugLineStr  )

This function highligth the searched keyword

This function highligth the searched keyword

Parameters:
string   $debugLineStr:  The formatted debug line object to check

API Tags:
Return:  Formatted string with keyword highligthed
Access:  protected

Information Tags:
Since:  V2.0.0 - 2 May 2006
Todo:  nice ereg replace call to avoid HTML & attribue breaking

[ Top ]
processClass  [line 430]

  string processClass( array $properties  )

process display of Class

process display of Class

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the class
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
processDebugInfo  [line 291]

  string processDebugInfo( array $properties  )

process display of the main information of debug

process display of the main information of debug

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the main debug info
Access:  private

Information Tags:
Since:  V2.0.0 - 28 Apr 2006

[ Top ]
processExecTime  [line 266]

  string processExecTime( array $properties  )

process display of the execution time of debug information

process display of the execution time of debug information

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the main debug info
Access:  private

Information Tags:
Since:  V2.0.0 - 28 Apr 2006

[ Top ]
processFile  [line 585]

  string processFile( array $properties  )

process display of file name

process display of file name

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the file
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
processFunction  [line 480]

  string processFunction( array $properties  )

process display of function

process display of function

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the function
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
processLine  [line 535]

  string processLine( array $properties  )

process display of line number

process display of line number

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the line number
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
processType  [line 416]

  string processType( array $properties  )

process display of the type of the debug information

process display of the type of the debug information

Parameters:
array   $properties:  Properties of the debug line

API Tags:
Return:  Formatted string containing the debug type
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
render  [line 187]

  void render( )

Default render function for HTML_Table renderer

Default render function for HTML_Table renderer


API Tags:
Access:  public
See:  Renderer

Information Tags:
Since:  11 Apr 2006

[ Top ]
showDump  [line 643]

  void showDump( $properties  )

Print the dump of a variable

Print the dump of a variable

Parameters:
   $properties: 

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
showError  [line 800]

  void showError( $infos, array $info  )

Print an error

Print an error

Parameters:
array   $info:  Array containing information about the error
   $infos: 

API Tags:
Access:  private
See:  PHP_DEBUGLINE_PHPERROR

Information Tags:
Todo:  Implement the strict error level, add an option to display or not the stricts errors
Since:  V2.0.0 - 25 Apr 2006

[ Top ]
showProcessTime  [line 910]

  void showProcessTime( )

Add the process time information to the debug information

Add the process time information to the debug information


API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 18 Apr 2006

[ Top ]
showSearch  [line 697]

  void showSearch( )

Print the search combo box

Print the search combo box


API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
showSuperArray  [line 845]

  void showSuperArray( string $SuperArrayType  )

Show a super array

Show a super array

Parameters:
string   $SuperArrayType:  Type of super en array to add

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 07 Apr 2006

[ Top ]
showTemplates  [line 753]

  void showTemplates( )

Print the templates

Print the templates


API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 26 Apr 2006

[ Top ]
span  [line 404]

  string span( string $info, string $class  )

Return a string with applying a span style on it

Return a string with applying a span style on it

Parameters:
string   $info:  String to apply the style
string   $class:  CSS style to apply to the string

API Tags:
Return:  Formatted string with style applied
Access:  private

Information Tags:
Since:  V2.0.0 - 05 May 2006

[ Top ]

Documentation generated on Thu, 07 Sep 2006 00:36:29 +0200 by phpDocumentor 1.3.0