[TASK] Unify TypoScript-related helper methods 89/50589/13
authorBenni Mack <benni@typo3.org>
Thu, 10 Nov 2016 23:30:26 +0000 (00:30 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Wed, 29 Mar 2017 14:14:54 +0000 (16:14 +0200)
commit8f3659419c3c90c2fd1502c73e8952ec8ca755a6
treef5c81e30efc943b0de60a520693c63c5b5e66fb6
parent22d8fe9e14243ac85068b1f6726237a576e89971
[TASK] Unify TypoScript-related helper methods

The method for OptionSplitting in TemplateService
is completely isolated from everything else, and creates
a very strong dependency to TSFE + TemplateService
in various places.

Additionally, the TypoScriptService of Extbase is used
in several places of the core and has nothing to do
with Extbase itself, thus, it can be moved to a central place
where these functions are called.

Moving this code to it's own service class in the core
helps to decouple TSFE, tmpl, Extbase and cObject more.

Resolves: #78650
Releases: master
Change-Id: I712c77c383171e93053caff0f89af8d1247f6d86
Reviewed-on: https://review.typo3.org/50589
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
26 files changed:
composer.json
composer.lock
typo3/sysext/core/Classes/TypoScript/TemplateService.php
typo3/sysext/core/Classes/TypoScript/TypoScriptService.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-78650-TemplateService-splitConfArray.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Important-78650-TypoScriptServiceClassMovedFromExtbaseToCore.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php
typo3/sysext/core/Tests/Unit/TypoScript/TypoScriptServiceTest.php [new file with mode: 0644]
typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php
typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php
typo3/sysext/extbase/Classes/Service/TypoScriptService.php [deleted file]
typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Configuration/AbstractConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/BackendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/FrontendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Service/TypoScriptServiceTest.php [deleted file]
typo3/sysext/extbase/composer.json
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php
typo3/sysext/frontend/Classes/Page/PageGenerator.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/recordlist/Classes/RecordList.php