[TASK] Use ServerRequestInterface in Wizard/TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-84338-ProtectedMethodsAndPropertiesInTableController.rst
1 .. include:: ../../Includes.txt
2
3 ================================================================================
4 Deprecation: #84338 - Protected methods and properties in TableController
5 ================================================================================
6
7 See :issue:`84388`
8
9 Description
10 ===========
11
12 This file is about third party usage (consumer that call the class as well as
13 signals or hooks depending on it) of :php:`TYPO3\CMS\Backend\Controller\Wizard\TableController`.
14
15 A series of class properties has been set to protected.
16 They will throw deprecation warnings if called public from outside:
17
18 * [not scanned] :php:`$content`
19 * :php:`$inputStyle`
20 * :php:`$xmlStorage`
21 * :php:`$columnsOnly`
22 * :php:`$numNewRows`
23 * :php:`$colsFieldsName`
24 * [not scanned] :php:`$P`
25 * :php:`$TABLECFG`
26 * :php:`$tableParsing_quote`
27 * :php:`$tableParsing_delimiter`
28
29 All methods not used as entry points by :php:`TYPO3\CMS\Backend\Http\RouteDispatcher` will be
30 removed or set to protected in v10 and throw deprecation warnings if used from a third party:
31
32 * [note scanned] :php:`main()`
33 * :php:`tableWizard()`
34 * :php:`getConfigCode()`
35 * :php:`getTableHTML()`
36 * :php:`changeFunc()`
37 * :php:`cfgArray2CfgString()`
38 * :php:`cfgString2CfgArray()`
39
40
41 Impact
42 ======
43
44 Calling one of the above methods or accessing one of the above properties on an instance of
45 :php:`TableController` will throw a deprecation warning in v9 and a PHP fatal in v10.
46
47
48 Affected Installations
49 ======================
50
51 The extension scanner will find most usages, but may also find some false positives. The most
52 common property and method names like :php:`$content` are not registered and will not be found
53 if an extension uses that on an instance of :php:`TableController`. In general all extensions
54 that set properties or call methods except :php:`mainAction()` are affected.
55
56
57 Migration
58 =========
59
60 In general, extensions should not instantiate and re-use controllers of the core. Existing
61 usages should be rewritten to be free of calls like these.
62
63
64 .. index:: Backend, PHP-API, PartiallyScanned