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

Class: DebugLine

Source Location: /sources/debug.php

Class DebugLine

Class Overview

DebugLine : Class that describe debug line informations

Describe all infos and methods for a debug line, file location, color, type of debug, debug buffer, formatted debug buffer title of debug variable if applicable...

Located in /sources/debug.php [line 1586]



		
				Author(s):
		
		
		
Information Tags:
Since:  BETA1.0
Version:  V1.1.0

Properties

Methods

[ Top ]
Property Summary
string   $applySpanStyle   Most of the time we will display a global span style for the debug cell but we must be able to desactive it in order to preserve XHTML compliance (DBGLINE_SEARCH for exemple)
array   $CellBoldStatus   Bold style for debug info cell
array   $CellColor   Background Color for debug info cell
string   $DatabaseName   Name of database that we are working on
string   $DebugDisplayString   Formatted Debug info
integer   $DebugType   Debug Type
string   $DefaultCellBackColor   Default Backgourd cell color
string   $HtmlPostCell   HTML Cell end code
string   $HtmlPreCell   HTML Cell start code
string   $PhpMyAdminUrl   Base URL of phpmyadmin
string   $_ProcessTimeString   Process time infos if applicable

[ Top ]
Method Summary
mixed   DebugLine()   DebugLine() Constructor of class
void   applyTextStyle()   applyTextStyle() : Apply a style to a string
void   breakString()   breakString() : Add Carriage return to a string
void   colorizeFont()   colorizeFont() : Function that colorize a string with a given color
string   getDebugLineString()   getDebugLineString() : Return Formated debug infos
string   getPhpMyAdminUrl()   getPhpMyAdminUrl() : Return url of PhpmyAdmin
void   setProcessTime()   setProcessTime() : Process time string assignment function

[ Top ]
Properties
string   $applySpanStyle = true [line 1729]

Most of the time we will display a global span style for the debug cell but we must be able to desactive it in order to preserve XHTML compliance (DBGLINE_SEARCH for exemple)

API Tags:
Access:  public

Information Tags:
Since:  13 May 2005

[ Top ]
array   $CellBoldStatus = false [line 1685]

Bold style for debug info cell

API Tags:
Access:  public


[ Top ]
array   $CellColor = '' [line 1661]

Background Color for debug info cell

API Tags:
Access:  public


[ Top ]
string   $DatabaseName = '' [line 1677]

Name of database that we are working on

API Tags:
Access:  public


[ Top ]
string   $DebugDisplayString = '' [line 1644]

Formatted Debug info

API Tags:
Access:  public


[ Top ]
integer   $DebugType = DBGLINE_DEFAULT [line 1653]

Debug Type

API Tags:
Access:  public
See:  DBGLINE contants


[ Top ]
string   $DefaultCellBackColor = '#F8F8FF' [line 1693]

Default Backgourd cell color

API Tags:
Access:  public


[ Top ]
string   $HtmlPostCell = ' </td>
</tr>'
[line 1709]

HTML Cell end code

API Tags:
Access:  public


[ Top ]
string   $HtmlPreCell = '<tr>
<td class="dbgTD">'
[line 1701]

HTML Cell start code

API Tags:
Access:  public


[ Top ]
string   $PhpMyAdminUrl = '' [line 1669]

Base URL of phpmyadmin

API Tags:
Access:  public


[ Top ]
string   $_ProcessTimeString = '' [line 1718]

Process time infos if applicable

API Tags:
Access:  public

Information Tags:
Since:  19 Dec 2003

[ Top ]
Methods
Constructor DebugLine  [line 1749]

  mixed DebugLine( mixed $DebugObjectID, string $str, integer $DebugType, string $file, string $line, string $title  )

DebugLine() Constructor of class

_Location is Automatically created at object instantation. Then the formatted debug HTML row is created.

Parameters:
string   $str:  Debug Information to store
integer   $DebugType:  Type of debug information
string   $file:  File of debug information
string   $line:  Debug of debug information
string   $title:  Title of debuged var

API Tags:
Return:  DebugLine Object
Access:  public
See:  _BuildDebugLineLocation()

Information Tags:
Since:  17 Oct 2003

[ Top ]
applyTextStyle  [line 1840]

  void applyTextStyle( mixed $str, mixed $style  )

applyTextStyle() : Apply a style to a string


API Tags:
Static:  
Access:  public

Information Tags:
Since:  26 Dec 2003

[ Top ]
breakString  [line 2100]

  void breakString( String $Str, Integer $Length, [String $Separator = '
']  )

breakString() : Add Carriage return to a string

Parameters:
String   $Str:  String to break
Integer   $Length:  Length after we must break the string
String   $Separator:  Separator used to break string

API Tags:
Access:  public

Information Tags:
Since:  26 Dec 2003

[ Top ]
colorizeFont  [line 1899]

  void colorizeFont( mixed $str, mixed $color  )

colorizeFont() : Function that colorize a string with a given color


API Tags:
Static:  
Access:  public

Information Tags:
Since:  26 Dec 2003

[ Top ]
getDebugLineString  [line 2134]

  string getDebugLineString( )

getDebugLineString() : Return Formated debug infos


API Tags:
Return:  The formatted string
Access:  public

Information Tags:
Since:  25 Oct 2003

[ Top ]
getPhpMyAdminUrl  [line 1785]

  string getPhpMyAdminUrl( )

getPhpMyAdminUrl() : Return url of PhpmyAdmin


API Tags:
Return:  PhpMyAdminUrl
Access:  public
See:  DebugLine::$PhpMyAdminUrl

Information Tags:
Since:  25 Oct 2003

[ Top ]
setProcessTime  [line 1797]

  void setProcessTime( mixed $Str  )

setProcessTime() : Process time string assignment function


API Tags:
Access:  public

Information Tags:
Since:  19 Dec 2003

[ Top ]

Documentation generated on Sun, 12 Jun 2005 14:52:23 +0200 by phpDocumentor 1.3.0RC3