[TASK] FormEngine: Replace placeholder resolving with a data provider 48/43748/6
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 2 Oct 2015 18:50:55 +0000 (20:50 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 5 Oct 2015 13:57:51 +0000 (15:57 +0200)
commit13177fa0e0da2b879db03859bc9cb4f8716bfdc3
tree1f3068d361a28844f29d931b5de86667a0f1ad76
parentdfce7350e8c0bf117a13b685dcd3e59d68b4454a
[TASK] FormEngine: Replace placeholder resolving with a data provider

Resolving of placeholder for field types text and input has been moved
from the element rendering into the form data providers. The data
provider approach allows reuse of existing providers and data groups and
reduces the amount of database queries by having access to previously
parsed data.

Resolves: #70370
Resolves: #70146
Resolves: #70297
Releases: master
Change-Id: I05fa2c6d3237e65627cae74811d1a9202e3ac0c8
Reviewed-on: http://review.typo3.org/43748
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/AbstractNode.php
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/Element/InputTextElement.php
typo3/sysext/backend/Classes/Form/Element/TextElement.php
typo3/sysext/backend/Classes/Form/FormDataGroup/TcaInputPlaceholderRecord.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInputPlaceholders.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/FormDataTraverser.php [deleted file]
typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaInputPlaceholderRecordTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInputPlaceholdersTest.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php