Class Zend_Auth_Result

Description
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Auth/Result.php (line 30)


	
			
Variable Summary
 mixed $_identity
 boolean $_isValid
 array $_messages
Method Summary
 void __construct (boolean $isValid, mixed $identity, [ $messages = array()])
 mixed getIdentity ()
 array getMessages ()
 boolean isValid ()
Variables
mixed $_identity (line 44)

The identity used in the authentication attempt

  • access: protected
boolean $_isValid (line 37)

Whether the result represents a successful authentication attempt

  • access: protected
array $_messages (line 53)

An array of string reasons why the authentication attempt was unsuccessful

If authentication was successful, this should be an empty array.

  • access: protected
Methods
Constructor __construct (line 63)
  • access: public
  • todo:
void __construct (boolean $isValid, mixed $identity, [ $messages = array()])
  • boolean $isValid
  • mixed $identity
  • array $messages
getIdentity (line 85)

Returns the identity used in the authentication attempt

  • access: public
mixed getIdentity ()
getMessages (line 97)

Returns an array of string reasons why the authentication attempt was unsuccessful

If authentication was successful, this method returns an empty array.

  • access: public
array getMessages ()
isValid (line 75)

Returns whether the result represents a successful authentication attempt

  • access: public
boolean isValid ()

Documentation generated on Wed, 21 Feb 2007 11:58:47 -0800 by phpDocumentor 1.3.1