Re: PEAR_DelegateOwner
| From: | LingWitt at insightbb dot com | Date: | Sun, 16 Nov 2003 18:52:36 +0000 |
| Subject: | Re: PEAR_DelegateOwner | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23680@lists.php.net to get a copy of this message | ||
You are right. I explained that this is not exactly the traditional method of delegation in another email. I believe I also mention that in the documentation.
Nevertheless, this is a powerful capability, and if the name does not sit so well with you, why not change it? Is it the capability that fails to enthuse you,
or is it the name?
On 16 Nov 2003, at 1:38 PM, Bertrand Mansion wrote:
Your code is not delegation IMO :) The principle is to call the method if it is implemented in the delegate. If it is not, well, so be it, don't call it. There is no need to raise an error or whatever. Am I wrong ?