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

Source for file test2.class.php

Documentation is available at test2.class.php

  1. <?php
  2. /**
  3.  * Test class used in other examples
  4.  * 
  5.  * @category   HTML
  6.  * @package    AJAX
  7.  * @author     Joshua Eichorn <josh@bluga.net>
  8.  * @copyright  2005 Joshua Eichorn
  9.  * @license    http://www.opensource.org/licenses/lgpl-license.php  LGPL
  10.  * @version    Release: @package_version@
  11.  * @link       http://pear.php.net/package/HTML_AJAX
  12.  */
  13. class test2 {
  14.     function echo_string($string{
  15.         return $string;
  16.     }
  17.     function slow_echo_string($string{
  18.         sleep(2);
  19.         return $string;
  20.     }
  21.     function error_test($string{
  22.         trigger_error($string);
  23.     }
  24. }
  25. ?>

Documentation generated on Mon, 11 Mar 2019 14:11:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.