Re: init() method
Lukas Kahwe Smith <[email protected]> Sun, 18 Dec 2005 13:45:13 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Lukas Kahwe Smith wrote: > Arnaud Limbourg wrote: >> Would the code become ? >> >> $lu = LiveUser::factory(); >> $lu->init(); > > > init() would also no longer accept any parameters .. I have made the necessary changes. Flexibility is now radically increased and performance might be very slightly increased due to less function calls being made. The code in userland is now alot more complex though, then again its one of those things you code once, also if you do not use the remember feature its not all that bad. However I would appreciate if people would play with the new API a bit and suggest improvements. I have updated all examples. regards, Lukas