Class UserInfo

Description

DO NOT USE THIS CLASS ANY LONGER, IT WILL BE REMOVED IN ONE OF THE NEXT VERSIONS!

Use PrincipalService instead:

  1.  $services ServiceFactory::get();
  2.  $principalService $services->getPrincipalService();
  3.  $principal $principalService->lookupByID($userID);

  • version: $Id: UserInfo.php,v 1.7 2006/11/26 22:04:22 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
  • deprecated:


			
Method Summary
UserInfo UserInfo (int $id)
int getCID ()
void getID ()
int getLanguageID ()
String getName ()
int getUserID ()
boolean isActive ()
boolean isAnonymous ()
void isSuperUser ()
boolean isValidUser ()
Methods
Constructor UserInfo (line 60)

Initializes the Object with the User by the given ID

UserInfo UserInfo (int $id)
  • int $id: the User ID
getActiveStatusID (line 132)

Gets the Status ID as it is hold in the DB

  • return: the Status ID for the initialized User
int getActiveStatusID ()
getCID (line 173)

Fetches the users consumer ID.

  • return: the consumer ID
int getCID ()
getID (line 146)
void getID ()
getLanguageID (line 164)

Gets the Language ID for this User.

  • return: the language ID
int getLanguageID ()
getName (line 155)

Gets the User name.

  • return: the Username in BIGACE
String getName ()
getUserID (line 142)

Gets the Users ID

  • return: the Users ID
int getUserID ()
isActive (line 116)

Gets the Users status within BIGACE.

If User is not known it will return the same as isValidUser().

  • return: value for the Users status.
boolean isActive ()
isAnonymous (line 95)

Gets the Information if user is anonymous.

  • return: if User is anonymous
boolean isAnonymous ()
isSuperUser (line 102)
void isSuperUser ()
isValidUser (line 85)

This shows if the User is registered within BIGACE.

It returns true even if the Users status is inactive!

  • return: true if user is known
boolean isValidUser ()

Documentation generated by phpDocumentor 1.3.1