[TASK] Deprecate direct method calls to cObjects 48/36148/4
authorBenjamin Mack <benni@typo3.org>
Tue, 20 Jan 2015 20:46:51 +0000 (21:46 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sun, 25 Jan 2015 12:21:51 +0000 (13:21 +0100)
commite810a2dfd5a6a12fdf9b35fbc642dd6cdb7b9734
tree8c6370fcc7ccbc124ba6f814822d347c7a5f28a7
parent21e9a05d964e5eef3c4512554f45ea59ea2487ca
[TASK] Deprecate direct method calls to cObjects

Some (but not all) cObjects used the shorthand calls
inside ContentObjectRenderer which come from the time
before TYPO3 4.5 where all the code was inside
ContentObjectRenderer.

They are now finally marked for deprecation.

All places within the TYPO3 Core are replaced
with the appropriate public API call.

Resolves: #64388
Releases: master
Change-Id: I95d4a44adacfc36496ff1ede7aedb2624871ede2
Reviewed-on: http://review.typo3.org/36148
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
13 files changed:
typo3/sysext/core/Documentation/Changelog/master/Deprecation-64388-ContentObjectMethods.rst [new file with mode: 0644]
typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php
typo3/sysext/form/Classes/Controller/FormController.php
typo3/sysext/form/Classes/Domain/Model/Attribute/SrcAttribute.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/FormContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ImageTextContentObject.php
typo3/sysext/frontend/Classes/ContentObject/MediaContentObject.php
typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php