Re: cvs: pear /Forum/lib/classes/db NNTPStandard.php
| From: | Tomas V.V.Cox | Date: | Tue, 30 Oct 2001 16:10:06 +0000 |
| Subject: | Re: cvs: pear /Forum/lib/classes/db NNTPStandard.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-1206@lists.php.net to get a copy of this message | ||
On Tuesday 30 October 2001 14:00, Martin Jansen wrote:
> On Mon, 29 Oct 2001 21:23:19 -0000, Morgan Christiansson wrote:
> >+ */
> >+ if(!is_object($this->db)) {
> >+ require_once("Net_NNTP/NNTP.php");
> >+ $this->db = new Net_NNTP;
> >+ $this->db->connect("news.php.net");
> >+ $this->db->_debug = 1;
> >+ }
>
> This isn't compliant to the PEAR coding standards. Please have a look
> at http://pear.php.net/manual/standards.php
The problem with the class in this point is that the original author of
the class hasn't followed the convention on functions naming. If
"someone" wants to see standar methods name for the class "someone"
should do it :-). It could be a great moment then to mark the class
stable (I've tested it and works very good).
Tomas V.V.Cox