Re: [PHP-PEAR] RFC on merge of PHPLib and Pear
[email protected] (Jon Parise) Wed, 7 Mar 2001 12:16:50 -0500
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
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 ([email protected]) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member