Re: PEAR Auth, new user data
| From: | Lorenzo Alberton | Date: | Wed, 03 Sep 2003 15:06:13 +0000 |
| Subject: | Re: PEAR Auth, new user data | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7564@lists.php.net to get a copy of this message | ||
On Wed, 3 Sep 2003 09:53:18 -0500, jsWalter wrote:
>> You may want to have a look at [get|set]AuthData()
> Yes, I saw that. Even usesd it in 2 places.
>
> I just figured I was missing something. Something that would let me
> give an array of data for class access.
you can't have class access to your vars unless you
extend Auth, but you can use get|setAuthData with arrays
too, or even objects, if you like:
$myAuth->setAuthData('myArray', $myArray);
$myArray = $myAuth->getAuthData('myArray');
Regards,
Lorenzo