Re: Housing multiple classes under one class
| From: | Burhan Khalid | Date: | Sun, 21 Sep 2003 12:31:09 +0000 |
| Subject: | Re: Housing multiple classes under one class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163341@lists.php.net to get a copy of this message | ||
Gerard Samuel wrote:
[ snip ]
By having one class where they all can share each others data. Is it just a dream? The only way I know how is by making object/objects like $foo->bar->do_something()Have you tried using inheritence? class foo { /* class methods, objects */ } class bar extends foo { .. } -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com