Re: RFC on merge of PHPLib and Pear
| From: | Jon Parise | Date: | Wed, 07 Mar 2001 17:16:50 +0000 |
| Subject: | Re: RFC on merge of PHPLib and Pear | ||
| References: | 1 2 3 4 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1659@lists.php.net to get a copy of this message | ||
On Wed, Mar 07, 2001 at 06:19:31PM +0100, Bjrn Schotte wrote:
> > Ugh. That's horrible coding practice.
>
> Where's the problem? Change the base class Auth so that
> it calls auth_validatelogin() with a parameter. That's
> the thing you wanted.
Unless I misread your original message, you recommended using the
global scope to get parameter values into your class's method when a
specific method parameter wasn't available for that value.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member