Source for file Simple.php

Documentation is available at Simple.php

  1. <?php
  2.  
  3.     /**
  4.      * Simple class that contains methods that return
  5.      * various data types.
  6.      *
  7.      * @package default
  8.      * @author Aral Balkan
  9.      ***/
  10.     class Simple
  11.     {
  12.         /**
  13.          * Echos the passed data as a string, adding 'Echo: '
  14.          * to the front of it.
  15.          *
  16.          * @return string 'hello'
  17.          * @author Aral Balkan
  18.          ***/
  19.         function echoData($data)
  20.         {
  21.             return $data;
  22.         }
  23.         
  24.         /**
  25.          * Adds two numbers together.
  26.          *
  27.          * @return The sum of the passed arguments
  28.          * @author Aral Balkan
  29.          ***/
  30.         function addNumbers($n1$n2)
  31.         {
  32.             return $n1 $n2;
  33.         }
  34.         
  35.     // END class 
  36.  
  37. ?>

Documentation generated on Fri, 06 Jul 2007 19:54:51 +0100 by phpDocumentor 1.3.1