/**
  * Gets additional fields to render in the form to add/edit a task
  *
  * @param	array	$taskInfo Values of the fields from the add/edit task form
  * @param	tx_scheduler_Task	$task The task object being eddited. Null when adding a task!
  * @param	tx_scheduler_Module	$schedulerModule Reference to the scheduler backend module
  * @return	array	A two dimensional array, array('Identifier' => array('fieldId' => array('code' => '', 'label' => '', 'cshKey' => '', 'cshLabel' => ''))
  */
 public function getAdditionalFields(array &$taskInfo, $task, tx_scheduler_Module $schedulerModule)
 {
     $fields = array('notificationEmail');
     if ($schedulerModule->CMD == 'edit') {
         $taskInfo[$this->fieldPrefix . 'NotificationEmail'] = $task->getNotificationEmail();
     }
     $additionalFields = array();
     foreach ($fields as $field) {
         $fieldName = $this->getFullFieldName($field);
         $fieldId = 'task_' . $fieldName;
         $fieldHtml = '<input type="text" ' . 'name="tx_scheduler[' . $fieldName . ']" ' . 'id="' . $fieldId . '" ' . 'value="' . htmlspecialchars($taskInfo[$fieldName]) . '" />';
         $additionalFields[$fieldId] = array('code' => $fieldHtml, 'label' => 'LLL:EXT:reports/reports/locallang.xml:status_updateTaskField_' . $field, 'cshKey' => '', 'cshLabel' => $fieldId);
     }
     return $additionalFields;
 }