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 20)

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

Function to retrieve if the user logged in is admin

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

Function to retrieve if the user logged in is an athlete

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

Function to retrieve if the user logged in is a coach

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

Retrieve the user nickname from the present user

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

Return the object user logged in

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

Return the id of the User Loged in

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

Make the process of registering the session with the corresponding credentials

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

Clear the credentials and the logged in session

  • access: public
void signOut ()

Documentation generated on Tue, 31 Mar 2009 19:03:26 +0200 by phpDocumentor 1.4.2