Re: Mail:: revision 1.7 (php 4.3.4, apache 2.0.48)
| From: | Per Jessen | Date: | Mon, 09 Feb 2004 23:07:39 +0000 |
| Subject: | Re: Mail:: revision 1.7 (php 4.3.4, apache 2.0.48) | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10587@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
> On Mon, 09 Feb 2004 23:29:08 +0100
> per@computer.org (Per Jessen) wrote:
>
>
>> Because calls to raiseError() will not work otherwise, I believe.
>
> There is an include of PEAR.php right before each call to raiseError. It
> is better to do not extend PEAR only to use the error functions.
OK, I was only making a guess - I saw the calls to raiseError() failing and
I thought when you had e.g "$this->raiseError()", the idea was to call
raiseError() from the superclass?
Also, in the code where I saw the failing calls, I am also including
mimeDecode.hphp, which has an include of PEAR.php.
/Per