/**
  *
  * @param  array $taskInfo : reference to the array containing the info used in the add/edit form
  * @param  AbstractTask $task : when editing, reference to the current task object. Null when adding.
  * @param  SchedulerModuleController $schedulerModule : reference to the calling object (Scheduler's BE module)
  * @return  array                            Array containg all the information pertaining to the additional fields
  *                                    The array is multidimensional, keyed to the task class name and each field's id
  *                                    For each field it provides an associative sub-array with the following:
  */
 public function getAdditionalFields(array &$taskInfo, $task, SchedulerModuleController $schedulerModule)
 {
     $additionalFields = [];
     if ($schedulerModule->CMD == 'add') {
         $taskInfo['Notification_forumPids'] = 1337;
         $taskInfo['Notification_userPids'] = 1337;
         $taskInfo['Notification_notificationPid'] = 1337;
     }
     if ($schedulerModule->CMD == 'edit') {
         $taskInfo['Notification_forumPids'] = $task->getForumPids();
         $taskInfo['Notification_userPids'] = $task->getUserPids();
         $taskInfo['Notification_notificationPid'] = $task->getNotificationPid();
     }
     $additionalFields['Notification_forumPids'] = ['code' => '<input type="text" name="tx_scheduler[Notification_forumPids]" value="' . htmlspecialchars($taskInfo['Notification_forumPids']) . '" />', 'label' => 'LLL:EXT:typo3_forum/Resources/Private/Language/locallang.xml:tx_typo3forum_scheduler_notification_forumPid', 'cshKey' => '', 'cshLabel' => ''];
     $additionalFields['Notification_userPids'] = ['code' => '<input type="text" name="tx_scheduler[Notification_userPids]" value="' . htmlspecialchars($taskInfo['Notification_userPids']) . '" />', 'label' => 'LLL:EXT:typo3_forum/Resources/Private/Language/locallang.xml:tx_typo3forum_scheduler_notification_userPid', 'cshKey' => '', 'cshLabel' => ''];
     $additionalFields['Notification_notificationPid'] = ['code' => '<input type="text" name="tx_scheduler[Notification_notificationPid]" value="' . (int) $taskInfo['Notification_notificationPid'] . '" />', 'label' => 'LLL:EXT:typo3_forum/Resources/Private/Language/locallang.xml:tx_typo3forum_scheduler_notification_notificationPid', 'cshKey' => '', 'cshLabel' => ''];
     return $additionalFields;
 }