Source for file doxyphp_example.php

Documentation is available at doxyphp_example.php

  1. <?
  2. $a 1;
  3. $d 1;
  4.  
  5. /**
  6.  * FOO_BAR - Enter description here...
  7.  */
  8. define("FOO_BAR""foo bar");
  9.  
  10. /**
  11.  * FooBase - Enter description here...
  12.  */
  13. class FooBase {
  14.     /**
  15.      * foo1 - Enter description here...
  16.      */
  17.     public function foo1({
  18.     }
  19. }
  20.  
  21. /**
  22.  * Foo - Enter description here...
  23.  */
  24. class Foo extends FooBase {
  25.     
  26.     /**
  27.      * bar - Enter description here...
  28.      * @var Bar 
  29.      */
  30.     public $bar;
  31.     
  32.     /**
  33.      * foo1 - Enter description here...
  34.      */
  35.     public function foo1({
  36.         $this->foo2();
  37.         parent::foo1();
  38.     }
  39.     
  40.     /**
  41.      * foo2 - Enter description here...
  42.      */
  43.     public function foo2({
  44.         print "foo";
  45.         $this->bar->bar2();
  46.     }
  47. }
  48.  
  49. /**
  50.  * Bar - Enter description here...
  51.  */
  52. class Bar {
  53.     /**
  54.      * bar1 - Enter description here...
  55.      * @param Foo $foo Enter description here...
  56.      * @param string $str Enter description here...
  57.      * @return bool 
  58.      */
  59.     public static function bar1($foo$str{
  60.         $foo->foo1();
  61.         $foo2 new Foo();
  62.         /* @var $foo2 Foo */
  63.         $foo2->foo2();
  64.         self::bar2();
  65.     }
  66.     
  67.     /**
  68.      * bar2 - Enter description here...
  69.      */
  70.     public static function bar2({
  71.         $a 2;
  72.         $ddd $a FOO_BAR;
  73.         print "bar";
  74.     }
  75. }
  76. ?>

Documentation generated on Mon, 18 Jun 2007 17:47:46 +0700 by phpDocumentor 1.3.1