Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Manipulate data before send requests or researches
Um die Mails aus den Anfrage oder Suchanfrage Formularen zu manipulieren kannst Du die beiden folgenden Slots nutzen: If you need to manipulate the data of request or research form before sending, you can use the following slots:
//
// Example Slot for manipulating data before send requests
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\CodingMs\Fahrzeugsuche\Service\RequestService::class, 'beforeSendRequest',
\CodingMs\FahrzeugsucheFluidForm\Slot\RequestSlot::class, 'beforeSendRequest'
);
//
// Example Slot for manipulating data before send researchs
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\CodingMs\FahrzeugsuchePro\Service\ResearchService::class, 'beforeSendResearch',
\CodingMs\FahrzeugsucheFluidForm\Slot\ResearchSlot::class, 'beforeSendResearch'
);
The example of Fahrzeugsuche-Fluid-Form extension is used to persist all requests and researches in Fluid-Form database as well.