/** * Saves 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 */ public function saveAdditionalFields(array $submittedData, tx_scheduler_Task $task) { $registry = t3lib_div::makeInstance('t3lib_Registry'); $servers = $registry->get('tx_solr', 'servers', array()); $task->setRedmineServer($submittedData['redmineServer']); $task->setSolrServer($servers[$submittedData['solrServer']]); $task->setDocumentsToIndexLimit($submittedData['documentsToIndexLimit']); }