Re: Live User example in cvs repositroy

Lukas Kahwe Smith <[email protected]> Fri, 02 Dec 2005 13:14:19 +0100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Vincent Mazenod wrote:
> Hello,
> 
> I just have a few questions on the examples provides in the CVS 
> directory (http://cvs.php.net/pear/LiveUser/ and 
> http://cvs.php.net/pear/LiveUser_Admin/).
> First the line :
>     $usr = LiveUser::singleton($conf);
>     doesn't work, I must set a
>     $signature="whateveriwant"
>     to instantiate with
>     $usr = LiveUser::singleton($conf, $signature);
>     Is there an explanation?

this is a bug which is fixed in CVS

> Secondly I don't understand why in the example in LiveUser_Admin, I 
> found the line :
>     $admin->SomeMethods();
>     and never
>     $admin = new LiveUser_Admin($conf)
>     I didn't find any
>     require_once LiveUser/Admin.php
>     too?

there is probably a call to LiveUser_Admin::factory() in the example you
are looking at.

> Have you any Idea of when LiveUser will be stable?

No, we are mainly working on 3 areas:
- documentation
- tests
- caching

please also refer to:
httt://pear.limbourg.com and the mailinglist mentioned there ..

regards,
Lukas