At 09:40 AM 4/8/2004 +0200, Marcus Boerger wrote:
> And I think __call has such few uses (I can think of one class right
> now: Object proxies for SOAP/ XMLRPC or the like) that you will hardly
> redeclare it anyway. If you start using __call on a regular basis you
> should probably rethink your design :-)

An iterator may want to "reflect" it's inner object/iterator methods
by call. This you may cal aggregation. In other words you can use
__call to emulate MI and aggregation.

Not only an iterator. I wrote a classic delegation (aggregation) example and it used __call().


Andi

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to