Checks whether a token kan be used for the ask/forward loop
| package | Gems |
|---|---|
| subpackage | Tracker |
| copyright | Copyright (c) 2011 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.4 |
checkRegistryRequestsAnswers() : boolean
booleanFalse if required values are missing.getMessages() : array
If isValid() was never called or if the most recent isValid() call returned true, then this method returns an empty array.
arrayisValid(mixed $value) : 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_Valid_Exception |
If validation of $value is impossible |
|---|
booleangetRequest()
isValidToken(mixed $value) : boolean
mixed
boolean$db : \Zend_Db_Adapter_Abstract
$logger : \Gems_Log
$project : \Gems_Project_ProjectSettings
$request : \Zend_Controller_Request_Abstract
$tracker : \Gems_Tracker_TrackerInterface
$translate : \Zend_Translate