Re: $LU->readRights() deprecated in 0.15.1?
Lukas Smith <[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Organization | BackendMedia GbR |
| Message-ID | <[email protected]> |
Benedikt Laube wrote:
> Hi,
>
> I am using LU 0.15.1 and whenever trying to do a
> print_r($LU->readRights()); it gives me: Fatal error: Call to
> undefined function: readrights()
>
> I was looking for info if it may be deprecated but found nothing. I am
> using the Complex Perm container.
>
> Is there another function for achieving this now? Maybe even one that
> returns the field "right_define_name" in liveuser_rights?
uhm i am not aware that we ever had such a method.
in the client the readRights() method is a private method that is used
inside the container.
if you want to get an array of the rights from the client use
LiveUser::getProperty('rights');
in the admin container:
LUadmin->perm->getRights();
regards,
Lukas Smith
[email protected]
_______________________________
BackendMedia
www.backendmedia.com
[email protected]
Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin
Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07