[TASK] Moved marker substitution functionality to own class 81/41381/7
authorBenjamin Mack <benni@typo3.org>
Wed, 15 Jul 2015 22:37:05 +0000 (00:37 +0200)
committerBenni Mack <benni@typo3.org>
Wed, 26 Aug 2015 08:21:47 +0000 (10:21 +0200)
commit21ab2ab473d68da2e71e22066d651bffbc8bc050
treed04591d561852570716851514531d937eb498fdc
parent18d78fd1c6fc197c2bc6f03fd98bb41df8bef007
[TASK] Moved marker substitution functionality to own class

The marker substitution functionality has been moved from
core/Classes/Html/HtmlParser.php to own class
core/Classes/Utility/MarkerUtility.php

The following methods within HtmlParser have been marked as deprecated.

* HtmlParser::getSubpart()
* HtmlParser::substituteSubpart()
* HtmlParser::substituteSubpartArray()
* HtmlParser::substituteMarker()
* HtmlParser::substituteMarkerArray()
* HtmlParser::substituteMarkerAndSubpartArrayRecursive()

Resolves: #69262
Releases: master
Change-Id: Ia0ffb3715b3ecef9739db4f6aad53bae9c224b90
Reviewed-on: http://review.typo3.org/41381
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 files changed:
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Sprite/SpriteGenerator.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Classes/Messaging/AbstractStandaloneMessage.php
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Classes/Utility/MarkerUtility.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-69262-MoveMarkerSubstitutionFunctionalityToOwnClass.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php
typo3/sysext/core/Tests/Unit/Utility/MarkerUtilityTest.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php
typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php
typo3/sysext/version/Classes/Hook/DataHandlerHook.php