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

Source for file test2.php

Documentation is available at test2.php

  1. <?php
  2. /**
  3.  * Another test file for PEAR PHP_UML
  4.  */
  5.  
  6. require "test1.php"
  7.  
  8. /**
  9.  * A class that does not belong to any namespace :
  10.  * (except the "global namespace" of PHP)
  11.  */
  12. abstract // oooh !!
  13. class Universe
  14. {
  15.     public $age = 13000000000;
  16.     abstract function expands()
  17.     {
  18.         
  19.     }
  20. }
  21.  
  22.  
  23. /**
  24.  * A test class to play with package PHP_UML
  25.  * 
  26.  * @package Orion
  27.  * @author Baptiste Autin
  28.  *
  29.  */
  30.  
  31. class TestClass2 extends TestClass1 {
  32.  
  33.     static private $foo2;
  34.    
  35.    /**
  36.     * @param string $name Name
  37.     * @param int $age Age (that one is by reference !)
  38.     * @return array 
  39.     */
  40.    function dumbMethod(&$ageTestClass1 $object$name 'Some characters')
  41.    {
  42.        $age++;
  43.        $name += $object->fooPublic;
  44.        $a = array($name$age);
  45.        return array($name$age);
  46.    }
  47. }

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