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

Class: DebugLine

Source Location: /sources/debug.php

Class Overview


DebugLine : Class that describe a debug line inforlations


Author(s):

Version:

  • BETA 1.0

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 1104]
DebugLine : Class that describe a debug line inforlations

Descive all info and methode for a debug line, file location, color, type of debug, debug buffer, formatted debug buffer title of debug variable if applicable




Tags:

since:  18 oct 2003
version:  BETA 1.0
author:  COil, Loic Vernet <mailto:webmaster@strangebuzz.com>


[ Top ]


Class Variables

$CellBoldStatus =  false

[line 1194]

Bold style for debug info cell



Tags:

access:  public

Type:   array


[ Top ]

$CellColor =  ''

[line 1170]

Background Color for debug info cell



Tags:

access:  public

Type:   array


[ Top ]

$DatabaseName =  ''

[line 1186]

Name of database that we are working on



Tags:

access:  public

Type:   string


[ Top ]

$DebugDisplayString =  ''

[line 1153]

Formatted Debug info



Tags:

access:  public

Type:   string


[ Top ]

$DebugType =  DBGLINE_DEFAULT

[line 1162]

Debug Type



Tags:

access:  public
see:  DBGLINE contants

Type:   integer


[ Top ]

$DefaultCellBackColor =  '#F8F8FF'

[line 1202]

Default Backgourd cell color



Tags:

access:  public

Type:   string


[ Top ]

$HtmlPostCell =  '</td></tr>'

[line 1218]

HTML Cell end code



Tags:

access:  public

Type:   string


[ Top ]

$HtmlPreCell =  '<tr><td><pre>'

[line 1210]

HTML Cell start code



Tags:

access:  public

Type:   string


[ Top ]

$PhpMyAdminUrl =  ''

[line 1178]

Base URL of phpmyadmin



Tags:

access:  public

Type:   string


[ Top ]

$_DebugString =  ''

[line 1145]

String that store non formatted debug info



Tags:

access:  private

Type:   string


[ Top ]

$_File =  ''

[line 1112]

File of debug info



Tags:

access:  private

Type:   integer


[ Top ]

$_Line =  ''

[line 1120]

Line of debug info



Tags:

access:  private

Type:   integer


[ Top ]

$_LineTitle =  ''

[line 1137]

Title of debug line ( Object var )



Tags:

access:  private
see:  DumpObj()

Type:   String


[ Top ]

$_Location =  ''

[line 1128]

Complete Location ( formatted ) of debug infos ( Line + File )



Tags:

access:  private

Type:   integer


[ Top ]



Class Methods


constructor DebugLine [line 1238]

mixed DebugLine( string $str, integer $DebugType, string $file, string $line, string $title, mixed $CellColor, mixed $CellBoldStatus, mixed $PhpMyAdminUrl, mixed $DatabaseName)

DebugLine() Constructor of class

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




Tags:

return:  DebugLine Object
access:  public
since:  17 Oct 2003
see:  DebugLine::_BuildDebugLineLocation()


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

[ Top ]

method getDebugLineString [line 1406]

string getDebugLineString( )

getDebugLineString() : Return Formated debug infos



Tags:

return:  The formatted string
access:  public
since:  25 Oct 2003


[ Top ]

method getPhpMyAdminUrl [line 1379]

string getPhpMyAdminUrl( )

getPhpMyAdminUrl() : Return url of PhpmyAdmin



Tags:

return:  PhpMyAdminUrl
access:  public
since:  25 Oct 2003
see:  DebugLine::$PhpMyAdminUrl


[ Top ]

method setPhpMyAdminUrl [line 1393]

void setPhpMyAdminUrl( string $phpmyadmin_url)

setPhpMyAdminUrl() : Set the url of PhpmyAdmin



Tags:

access:  public
since:  14 Nov 2003
see:  DebugLine::$PhpMyAdminUrl


Parameters:

string   $phpmyadmin_url   URL OF phpmyadmin

[ Top ]

method _BuildDebugLineLocation [line 1430]

string _BuildDebugLineLocation( string $file, string $line)

_BuildDebugLineLocation() : Retrieve Localisation of debug info

Check is $file and $line, build the location with available datas, if nothing return a default Info message.




Tags:

return:  The formatted location [file,line]
access:  private
since:  25 Oct 2003


Parameters:

string   $file   File of debug info
string   $line   Line number of debug info

[ Top ]

method _BuildDisplayString [line 1266]

void _BuildDisplayString( )

_BuildDisplayString() : Builds the formatted debug line

Depending on the DebugType the formatted debug line is build. DebugDisplayString is built. One case by debug type.




Tags:

access:  private
since:  20 Oct 2003
see:  DebugLine::$DebugType


[ Top ]

method _BuildHtmlPreCell [line 1365]

void _BuildHtmlPreCell( )

_BuildHtmlPreCell() : Build HTML pre cell with backgroud attributes



Tags:

access:  private
see:  DebugLine::$DefaultCellBackColor, DebugLine::$HtmlPreCell
since:  11 Dec 2003


[ Top ]


Documentation generated on Mon, 15 Dec 2003 18:46:46 +0100 by phpDocumentor 1.2.3