/** * This method is used to save any additional input into the current task object * if the task class matches * * @param array $submittedData: array containing the data submitted by the user * @param tx_scheduler_Task $task: reference to the current task object * @return void */ public function saveAdditionalFields(array $submittedData, tx_scheduler_Task $task) { foreach ($this->getAdditionalFieldConfig() as $sKey => $aOptions) { $task->setOption($sKey, $submittedData[$sKey]); } }