| package | Gems |
|---|---|
| subpackage | User |
| copyright | Copyright (c) 2012 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.5.3 |
__construct(\Gems_User_Validate_GetUserInterface $userSource, \Zend_Translate $translate)
\Gems_User_Validate_GetUserInterfaceThe source for the user
\Zend_Translate
getMessages()
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$_userSource : \Gems_User_Validate_GetUserInterface
$translate : \Zend_Translate