phpDocumentor php4-html-dom
[ class tree: php4-html-dom ] [ index: php4-html-dom ] [ all elements ]

Procedural File: php4-html-dom-debug.php

Source Location: /php4-html-dom-debug.php

Page Details

Debug operations for php4-html-parser

change-history:


  • 0.10.0
  • - Added display of boolean attributes set to TRUE

  • 0.7.2
  • - Added new positioning output with line numbers and line position

  • 0.3.0
  • - Added output of debug table with tests/operations and results

  • 0.2.0
  • - Added PhpDocumentor Comments

  • 0.1.0
  • - : created initial version of printDebugInfo() to display DOM structure

Author:  Adrian Meyer <adrian.meyer@unc.edu>
Version:  0.2.0
License:  Freeware
Functions
printDebugInfo  [line 90]

void printDebugInfo( $aParser  )

Print a table with all the debug information

Example:

  1.  // a string containing some HTML
  2.  $someHtml '<b>Hello</b>&nbsp;<i>world</i>!';
  3.  
  4.  // parsing HTML
  5.  require_once('php4-html-dom.php');
  6.  $htmlParser new htmlParser();
  7.  $htmlParser->parse$someHtml );
  8.  
  9.  // debugging last parsing operation
  10.  require_once('php4-html-dom-debug.php');
  11.  printDebugStyle$htmlParser );
  12.  printDebugInfo$htmlParser );

Parameters:
   $aParser: 

API Tags:
Access:  public


[ Top ]
printDebugStyle  [line 33]

void printDebugStyle( )

Output the a style tag for the debug information


API Tags:
Access:  public


[ Top ]
printDebugTableEnd  [line 193]

void printDebugTableEnd( )

end a table end containing debug operations


API Tags:
Access:  public


[ Top ]
printDebugTableOperation  [line 182]

void printDebugTableOperation( $aOperation, $aResult  )

end a table end containing debug operations

Parameters:
   $aOperation: 
   $aResult: 

API Tags:
Access:  public


[ Top ]
printDebugTableStart  [line 170]

void printDebugTableStart( $aTitle  )

Start a table containing debug operations

Parameters:
   $aTitle: 

API Tags:
Access:  public


[ Top ]


Documentation generated on Mon, 29 Mar 2010 09:09:08 -0400 by phpDocumentor 1.4.3