Re: Re: Function Cache
| From: | Stig S. Bakken | Date: | Mon, 11 Dec 2000 11:47:42 +0000 |
| Subject: | Re: Re: Function Cache | ||
| References: | 1 2 3 4 5 | Groups: | php.dev php.pear |
| Request: | Send a blank email to php-dev+get-40817@lists.php.net to get a copy of this message | ||
Kristian Köhntopp wrote:
>
> "Stig S. Bakken" wrote:
> > > Do we already have _delegate() methods in Zend? That is, is
> > > there already a way to specifiy a method that gets called before
> > > Zend complains that there is no dosomething() method in $cached
> > > and that can intercept the error message? If so, it is indeed
> > > possible to write generic proxy objects, otherwise you need to
> > > generate distinct code for each proxy class.
> >
> > How do you think the Java and COM extensions work? :-)
> >
>
> I don't know. How do I code a class in PHP (not C) that
> can stand in for any other class?
You can't. I was not suggesting to do this in PHP. (Jeez, you germans
have a real hack-and-slash attitude towards doing stuff in PHP :-)
- Stig