Abstract class for easier implementation of the \Gems_Task for usage with \Gems_Task_TaskRunnerBatch providing some convenience methods to loading and translation.
package | Gems |
---|---|
subpackage | Task |
copyright | Copyright (c) 2011 Erasmus MC |
deprecated | since version 1.6.2 Moved to \MUtil_Task_TaskAbstract (that uses $this->batch, not $this->_batch) |
license | New BSD License |
since | Class available since version 1.5.2 |
execute()
The parameters should be optional and failing to provide them should be handled by the task
isFinished() : boolean
boolean
setBatch(\MUtil_Task_TaskBatch $batch)
This method will be called from the \Gems_Task_TaskRunnerBatch upon execution of the task. It allows the task to communicate with the batch queue.
\MUtil_Task_TaskBatch
$loader : \Gems_Loader
$translate : \Zend_Translate_Adapter
$_batch : \MUtil_Task_TaskBatch