package Gems
subpackage SaveAnswerTask
copyright Copyright (c) 2014 Erasmus MC
license New BSD License
since Class available since version 1.6.3

 Methods

Should be called after answering the request to allow the Target to check if all required registry values have been set correctly.

checkRegistryRequestsAnswers() : boolean

Returns

booleanFalse if required values are missing.

Should handle execution of the task, taking as much (optional) parameters as needed

execute(array $row = null, $noToken = \Gems_Model_Translator_AnswerTranslatorAbstract::TOKEN_ERROR, $tokenCompletion = \Gems_Model_Translator_AnswerTranslatorAbstract::TOKEN_ERROR

The parameters should be optional and failing to provide them should be handled by the task

Parameters

$row

array

Row to save

$noToken

$tokenCompletion

 Properties

 

$loader

$loader : \Gems_Loader

Default

 

$locale

$locale : \Zend_Locale

Default

 

$targetModel

$targetModel : \MUtil_Model_ModelAbstract

Default

 

$util

$util : \Gems_Util

Default