/**
  * 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)
 {
     $task->setDepth($submittedData['linkvalidator']['depth']);
     $task->setPage($submittedData['linkvalidator']['page']);
     $task->setEmail($submittedData['linkvalidator']['email']);
     if ($submittedData['linkvalidator']['emailOnBrokenLinkOnly']) {
         $task->setEmailOnBrokenLinkOnly(1);
     } else {
         $task->setEmailOnBrokenLinkOnly(0);
     }
     $task->setConfiguration($submittedData['linkvalidator']['configuration']);
     $task->setEmailTemplateFile($submittedData['linkvalidator']['emailTemplateFile']);
 }