Source for file Debug.php

Documentation is available at Debug.php

  1. <?php
  2. /* -------------------------------------------------------------------------- */
  3. /* Module      : Debug                                                        */
  4. /*                                                                            */
  5. /* Version History :                                                          */
  6. /*                                                                            */
  7. /* Date        Vsn     Author          Description                            */
  8. /* -------------------------------------------------------------------------- */
  9. /* 20/01/09    1.0     S.Lindo         Initial version.                       */
  10. /* -------------------------------------------------------------------------- */
  11. /**
  12.  * Formats input text and displays as a debug statement.
  13.  * 
  14.  * @package Default
  15.  * @return void 
  16.  * @todo Remove the redundant legacy functions
  17.  */
  18.                 Zend_Controller_Action_Helper_Abstract
  19.  
  20. {
  21.     public $indicator = true;
  22.  
  23.     ////////////////////////////////////////////////////////////////////
  24.     public function direct ($in_text)
  25.     {
  26.         echo "<DIV><SPAN class=error>$in_text</SPAN></DIV>";
  27.     }
  28.  
  29.     ////////////////////////////////////////////////////////////////////
  30.  
  31.     function displayErrorSpan($in_text)
  32.     {
  33.         echo "<SPAN class=error>$in_text</SPAN>";
  34.     }
  35.     function displayErrorBlock($in_text)
  36.     {
  37.         echo "<DIV class=error>$in_text</DIV>";
  38.     }
  39.     function displayDebugBlock($in_text)
  40.     {
  41.         echo "<HR><B><FONT color=blue>$in_text</B></FONT><HR>";
  42.     }
  43.     public function reportInfo($in_text)
  44.     {
  45.         echo "<SPAN class=error>$in_text</SPAN>";
  46.     }
  47.  
  48. }

Documentation generated on Fri, 27 Mar 2009 13:48:32 +0000 by phpDocumentor 1.4.1