Class myUser

Description

Class for administrate login, logout, roles, permisions, credentials, and recovering information from the user logged in.

  • author: Diego Cebrián

Located in /apps/frontend/lib/myUser.class.php (line 12)

sfBasicSecurityUser
   |
   --myUser
Method Summary
boolean getIsAdmin ()
boolean getIsAthlete ()
boolean getIsCoach ()
string getNickname ()
int getUserId ()
void signIn (User $user)
void signOut ()
Methods
getIsAdmin (line 103)

Function to retrieve if the user logged in is admin

  • access: public
boolean getIsAdmin ()
getIsAthlete (line 113)

Function to retrieve if the user logged in is an athlete

  • access: public
boolean getIsAthlete ()
getIsCoach (line 123)

Function to retrieve if the user logged in is a coach

  • access: public
boolean getIsCoach ()
getNickname (line 93)

Retrieve the user nickname from the present user

  • access: public
string getNickname ()
getUser (line 83)

Return the object user logged in

  • access: public
User getUser ()
getUserId (line 73)

Return the id of the User Loged in

  • access: public
int getUserId ()
signIn (line 30)

Make the process of registering the session with the corresponding credentials

  • access: public
void signIn (User $user)
signOut (line 18)

Clear the credentials and the logged in session

  • access: public
void signOut ()

Documentation generated on Sun, 22 Mar 2009 19:18:09 +0100 by phpDocumentor 1.4.2