| 1 | <?php | 
| 2 |  | 
| 3 | /** | 
| 4 | * This file contains the DesignPattern::Container class. | 
| 5 | * | 
| 6 | * @author Andreas Motl <andreas.motl@ilo.de> | 
| 7 | * @package org.netfrag.glib | 
| 8 | * @module DesignPattern::Container | 
| 9 | * | 
| 10 | */ | 
| 11 |  | 
| 12 | /** | 
| 13 | * $Id: MVC.php,v 1.1 2003/03/01 15:31:18 joko Exp $ | 
| 14 | * | 
| 15 | * $Log: MVC.php,v $ | 
| 16 | * Revision 1.1  2003/03/01 15:31:18  joko | 
| 17 | * + initial commit | 
| 18 | * | 
| 19 | * | 
| 20 | */ | 
| 21 |  | 
| 22 |  | 
| 23 | /** | 
| 24 | * ---- | 
| 25 | * | 
| 26 | * | 
| 27 | * @author Andreas Motl <andreas.motl@ilo.de> | 
| 28 | * @copyright (c) 2003 - All Rights reserved. | 
| 29 | * @license GNU LGPL (GNU Lesser General Public License) | 
| 30 | * | 
| 31 | * @author-url http://www.netfrag.org/~joko/ | 
| 32 | * @license-url http://www.gnu.org/licenses/lgpl.txt | 
| 33 | * | 
| 34 | * @package org.netfrag.glib | 
| 35 | * @module DesignPattern::Container | 
| 36 | * | 
| 37 | */ | 
| 38 |  | 
| 39 | /** | 
| 40 | * Todo: | 
| 41 | * | 
| 42 | *  o xyz | 
| 43 | *  o bla, bli, blub | 
| 44 | * | 
| 45 | * | 
| 46 | */ | 
| 47 |  | 
| 48 |  | 
| 49 | // isn't required by now: | 
| 50 | //loadModule('DesignPattern::Object'); | 
| 51 | //class DesignPattern_MVC extends DesignPattern_Object { | 
| 52 |  | 
| 53 | class DesignPattern_Container { | 
| 54 |  | 
| 55 | var $_index; | 
| 56 |  | 
| 57 | /** | 
| 58 | * The constructor ... | 
| 59 | *   ... just does nothing. | 
| 60 | * | 
| 61 | * @param registry | 
| 62 | */ | 
| 63 | function DesignPattern_Container() { | 
| 64 | } | 
| 65 |  | 
| 66 | function __add_entity() { | 
| 67 | $args = &func_get_args(); | 
| 68 | print Dumper($args); | 
| 69 | } | 
| 70 |  | 
| 71 | } | 
| 72 |  | 
| 73 | ?> |