[FEATURE] EXT:form - Extend SaveToDatabase finisher 56/51456/9
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Sun, 29 Jan 2017 16:40:47 +0000 (17:40 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 6 Feb 2017 14:34:08 +0000 (15:34 +0100)
commit12fd6b6ae7a14ca22d9f0cfa6cf9bcaa62046f4a
tree4ce32b019cf4d5347be7a2fc4f5c50f1a52b3a45
parent3ba114ffa710e6dc3ba76b8a9f0100234a2004ad
[FEATURE] EXT:form - Extend SaveToDatabase finisher

This feature extends the SaveToDatabase finisher with
the following functions:

* Perform multiple database operations
* Access the inserted uids from previous database inserts
* Add a special option value '{__currentTimestamp}'
* Add a variable container object which is passed through all finishers

The issue contains examples for testing.

Resolves: #79530
Releases: master
Change-Id: Ic2a569194d69434e0320c670cd879744c864b911
Reviewed-on: https://review.typo3.org/51456
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Andreas Steiger <typo3@andreassteiger.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-79530-EXTform-ExtendSaveToDatabaseFinisher.rst [new file with mode: 0644]
typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php
typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php
typo3/sysext/form/Classes/Domain/Finishers/FinisherContext.php
typo3/sysext/form/Classes/Domain/Finishers/FinisherVariableProvider.php [new file with mode: 0644]
typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php
typo3/sysext/form/Configuration/Yaml/BaseSetup.yaml
typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/SaveToDatabaseFinisherTest.php [new file with mode: 0644]