Re: init() method
Lukas Kahwe Smith <[email protected]> Sun, 11 Dec 2005 19:40:11 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Matthias Nothhaft wrote: > For me it isn't that big BC break because login/logout happens an a > central place in my apps - changing checkRight() would be more critical. ;-) yeah .. it should not be a big deal for most users. > But I think that it would be a better concept to clearly separate init, > login and logout - easier to explain and to understand what happens. > > init should init, login should login and logout should logout ;-) :-) > By the way, it would be very nice if you could re-order some methods so > that public methods are first and private methods at the end of the > LiveUser class to make it more readable? Well I think the methods are currently mostly ordered in the way they get called or used. So any method is defined before its used. It works for me ;-) regards, Lukas