[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Security/ -> IUserManager.php (sommaire)

IUserManager interface file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: IUserManager.php 1397 2006-09-07 07:55:53Z wei $
Poids: 46 lignes (1 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

IUserManager:: (3 méthodes):
  getGuestName()
  getUser()
  validateUser()


Interface: IUserManager  - X-Ref

IUserManager interface

IUserManager specifies the interface that must be implemented by
a user manager class if it is to be used together with {@link TAuthManager}
and {@link TUser}.

getGuestName()   X-Ref

return: string name for a guest user.

getUser($username=null)   X-Ref
Returns a user instance given the user name.

param: string user name, null if it is a guest.
return: TUser the user instance, null if the specified username is not in the user database.

validateUser($username,$password)   X-Ref
Validates if the username and password are correct.

param: string user name
param: string password
return: boolean true if validation is successful, false otherwise.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7