Performs replacement of standard login failure texts
package | Gems |
---|---|
subpackage | User |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.5 |
inherited_from | \Gems_User_Validate_PasswordValidatorAbstract |
__construct(\Gems_User_Validate_GetUserInterface $userSource, string $message)
inherited_from | \Gems_User_Validate_PasswordValidatorAbstract::__construct() |
---|
\Gems_User_Validate_GetUserInterface
The source for the user
string
Default message for standard login fail.
__construct(string $message)
string
Default message for standard login fail.
getMessages() : array
If isValid() was never called or if the most recent isValid() call returned true, then this method returns an empty array.
array
isValid(mixed $value, $context = array()
) : boolean
If $value fails validation, then this method returns false, and getMessages() will return an array of messages that explain why the validation failed.
mixed
\Zend_Validate_Exception |
If validation of $value is impossible |
---|
boolean
setAuthResult(\Zend_Auth_Result $result) : boolean
\Zend_Auth_Result
boolean
True when valid$_authResult : \Zend_Auth_Result
null
$_userSource : \Gems_User_Validate_GetUserInterface