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

Source for file debug_test_min_xhtml.php

Documentation is available at debug_test_min_xhtml.php

  1. <?php
  2. /**
  3. * Mini Tutorial
  4. *
  5. * @package PHP_Debug
  6. * @filesource
  7. */
  8.  
  9. print('<?xml version="1.0" encoding="UTF-8"?>');
  10.  
  11. ?>
  12.  
  13. <!DOCTYPE html
  14. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  15. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  16. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  17. <head>
  18. <title>PHP_Debug :: Hello World !!</title>
  19. <style type="text/css">
  20. body {
  21. background-color:#FFFFFF;
  22. padding:1px;
  23. margin:1px;
  24. }
  25. img {
  26. border-width:0 0 0 0;
  27. }
  28. </style>
  29. <?php
  30. /**
  31. * Include Debug Class
  32. */
  33. include_once('../sources/debug.php');
  34. //include_once('E:\\Works\\PROJET~2\\01-WWW~1.COM\\wwwroot\\FUNCTI~1\\debug.php');
  35.  
  36. $Dbg = &new Debug();
  37.  
  38. /**
  39. * Generate StyleSheet
  40. */
  41. $Dbg->genXHTMLOutput = true;
  42. print($Dbg->generateStyleSheet());
  43.  
  44. ?>
  45.  
  46. </head>
  47. <body>
  48. <div>
  49. <a href="http://validator.w3.org/check/referer">
  50. <img src="../media/vxhtml10.png" alt="Valid XHTML 1.0!" height="31" width="88" />
  51. </a>
  52. </div>
  53. <?php
  54.  
  55. print("<div><h1>PHP_Debug :: Hello World !!</h1></div>");
  56. print("<div><h2>This page is XHTML 1.0 strict compliant.</h2></div>");
  57.  
  58. $Dbg->addDebug("DEBUG INFO", DBGLINE_STD, __FILE__, __LINE__);
  59.  
  60. $Dbg->DebugDisplay();
  61.  
  62. ?>
  63.  
  64. </body>
  65. </html>

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