Accountable interface for authentication
Any class that handles user authentication must implement this interface. It makes it almost trivial to check whether a user is currently logged in or not.
Located in /classes/Accountable.php (line 23)
AUTHENTICATION_ERR_MSG = 'There is no user account associated with the current session. Try logging in fist.'
Returns user account info
This method is used to retrieve the account corresponding to a given login. Note: it is not required that the user be currently logged in.
Did the current user log in?
This method simply answers the question "Did the current user log in?"
AUTHENTICATION_ERR_MSG
= 'There is no user account associated with the current session. Try logging in fist.'
(line 25)
Documentation generated on Mon, 26 Jul 2010 22:07:03 +0100 by phpDocumentor 1.4.3