Documentation automatically generated from the source-code using phpDocumentor.
Official Homepage: xao-php.sourceforge.net
XAO
Official homepage | API home | class tree: XAO | index: XAO | all elements

Class: TextDebugger

Source Location: Program_Root/XAO_TextDebugger.php

Class TextDebugger

Class Overview

Plain Text debugger

This class provides developer-friendly HTML output of strings for debugging. Specifically, it highlights the specified line of the text and can display the surrounding text using an nominal number of lines for padding. This functionality can be used anywhere a parse failure accurs and there is a line number involved.

Located in Program_Root/XAO_TextDebugger.php [line 18]



		
				Author(s):
		
  • Terence Kearns
Information Tags:
Link:  http://xao-php.sourceforge.net
License:  LGPL
Copyright:  Terence Kearns 2003
Version:  0.2

Properties

Methods

[ Top ]
Property Summary
mixed   $arrText  
mixed   $intLine  
mixed   $intPadding  
mixed   $strBorderStyle  
mixed   $strHighlightStyle  
mixed   $strHtml  
mixed   $strTextStyle  

[ Top ]
Method Summary
TextDebugger   TextDebugger()  
void   strGetHtml()  

[ Top ]
Properties
mixed   $arrText [line 22]

[ Top ]
mixed   $intLine [line 24]

[ Top ]
mixed   $intPadding = 10 [line 26]

[ Top ]
mixed   $strBorderStyle =
"border: solid red 1px; padding: 10px; font-size: 8pt;"
[line 34]

[ Top ]
mixed   $strHighlightStyle =
"color: red; font-weight: bold; background: yellow;"
[line 28]

[ Top ]
mixed   $strHtml [line 20]

[ Top ]
mixed   $strTextStyle =
"color: black; font-weight: normal; background: #E0E0E0;"
[line 31]

[ Top ]
Methods
Constructor TextDebugger  [line 37]

  TextDebugger TextDebugger( mixed $strText, [mixed $intLine = -1]  )



[ Top ]
strGetHtml  [line 48]

  void strGetHtml( )



[ Top ]

Documentation generated on Tue, 23 Sep 2003 18:34:08 +1000 by phpDocumentor 1.2.2