[FEATURE] Create interface and enable custom form_postProcessors
authorFranz Geiger <mail@fx-g.de>
Mon, 13 Feb 2012 15:19:37 +0000 (16:19 +0100)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 1 Jul 2012 12:08:32 +0000 (14:08 +0200)
commit91db6ca4000f0212e75cde50e320cb914944dfbe
tree4c29ee6ffd5141e06d9f85f6829b53f1bd359c35
parent1fdd6e8095b5e0692b40372168c15b29bed575f2
[FEATURE] Create interface and enable custom form_postProcessors

PostProcessors now need to implement the
tx_form_System_Postprocessor_Interface.
All classes implementing this interface can be loaded as a
postProcessor by passing its class-name by typoscript.

Before loading the class in the namespace 'tx_form_System_Postprocessor_'
tx_form_System_Postprocessor first tries to load the class passed by
typoscript directly.

Change-Id: I3bea8ce8287a6713f483d7e019cb5f47cdc68cb8
Resolves: #32701
Releases: 6.0
Reviewed-on: http://review.typo3.org/9006
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/form/Classes/System/Postprocessor/Interface.php [new file with mode: 0644]
typo3/sysext/form/Classes/System/Postprocessor/Mail.php
typo3/sysext/form/Classes/System/Postprocessor/Postprocessor.php
typo3/sysext/form/Tests/Unit/System/Postprocessor/PostprocessorTest.php [new file with mode: 0644]