Re: Kinda late question about the new getProperty() implementation
Lukas Kahwe Smith <[email protected]> Mon, 15 Aug 2005 17:52:01 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Lukas Kahwe Smith wrote:
> Benedikt Laube wrote:
>
>> Hi list,
>>
>> sorry for this not very clever question - I need to figure this one
>> really quick.
>> In my application, I used calls to getProperty like
>> $LU->getProperty(handle) or $LU->getProperty(authUserId). After the
>> upgrade, these give me NULL of course. I understand what has been
>> changed and it's a good change to make it more flexible, but what do I
>> need to my config array in order to make my application work with the
>> old calls?
>
>
> uhm $LU->getProperty('handle') should still work
>
> $LU->getProperty('authUserId') will not .. you need to use
> $LU->getProperty('auth_user_id')
>
> there is nothing you can really do to fix your old calls unfortunately..
well if you are willing to do a minor hack you can probably add the
necessary code into the Auth/Perm container
however a little search replace should fix this .. no?
regards,
Lukas