Re: [PEPr] +1 for Networking::Net_TrackBack
| From: | Jon Wood | Date: | Tue, 20 Apr 2004 14:02:42 +0000 |
| Subject: | Re: [PEPr] +1 for Networking::Net_TrackBack | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28147@lists.php.net to get a copy of this message | ||
On Tuesday 20 April 2004 14:54, I found a note on the whiteboard from Alan
Knowles saying:
> > I'm +1 on this so long as you only include PEAR.php when raising errors,
> > instead of including it everytime.
>
> That does seem a bit of an overkill, the file creates 6 possible errors,
> (and does PEAR::isError a few times - although this could be replace
> with is_a())
>
> if it was once or twice, this type of including may make sense, but with
> 6 it is probably valid to include it at the top.
>
> It's included via HTTP/Request->Net/Socket anyway - but it's good to put
> it in anyway to inform readers that PEAR is available in this file..
>
Fair call, +1 for this then.
> Regards
> Alan
>
>
> --
> Can you help out?
> Need Consulting Services or Know of a Job?
> http://www.akbkhome.com