![]() |
TYPO3
7.6
|
Public Member Functions | |
getAdditionalFields (array &$taskInfo, $task,\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $parentObject) | |
validateAdditionalFields (array &$submittedData,\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $parentObject) | |
saveAdditionalFields (array $submittedData,\TYPO3\CMS\Scheduler\Task\AbstractTask $task) | |
![]() | |
saveAdditionalFields (array $submittedData,\TYPO3\CMS\Scheduler\Task\AbstractTask $task) | |
Additional fields provider class for usage with the Scheduler's test task
Definition at line 22 of file TestTaskAdditionalFieldProvider.php.
getAdditionalFields | ( | array & | $taskInfo, |
$task, | |||
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController | $parentObject | ||
) |
This method is used to define new fields for adding or editing a task In this case, it adds an email field
array | $taskInfo | Reference to the array containing the info used in the add/edit form |
AbstractTask | NULL | $task | When editing, reference to the current task. NULL when adding. |
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController | $parentObject | Reference to the calling object (Scheduler's BE module) |
Implements AdditionalFieldProviderInterface.
Definition at line 33 of file TestTaskAdditionalFieldProvider.php.
saveAdditionalFields | ( | array | $submittedData, |
\TYPO3\CMS\Scheduler\Task\AbstractTask | $task | ||
) |
This method is used to save any additional input into the current task object if the task class matches
array | $submittedData | Array containing the data submitted by the user |
\TYPO3\CMS\Scheduler\Task\AbstractTask | $task | Reference to the current task object |
Definition at line 89 of file TestTaskAdditionalFieldProvider.php.
validateAdditionalFields | ( | array & | $submittedData, |
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController | $parentObject | ||
) |
This method checks any additional data that is relevant to the specific task If the task class is not relevant, the method is expected to return TRUE
array | $submittedData | Reference to the array containing the data submitted by the user |
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController | $parentObject | Reference to the calling object (Scheduler's BE module) |
Implements AdditionalFieldProviderInterface.
Definition at line 69 of file TestTaskAdditionalFieldProvider.php.
References $GLOBALS.