Re: catch of object operations __set and __invoke
| From: | Marcus Boerger | Date: | Wed, 21 Jul 2004 19:40:03 +0000 |
| Subject: | Re: catch of object operations __set and __invoke | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11441@lists.php.net to get a copy of this message | ||
Hello Leonardo,
Wednesday, July 21, 2004, 4:03:09 PM, you wrote:
> Hi all.
> I have just messed around with the php 5 code so to find a way to implement
> some way to make objects call some magic method when there is an invocation
> of a non existent method
Just use: __call()
regards
marcus