[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / Deprecation-86182-ProtectedTaskModuleController.rst
1 .. include:: ../../Includes.txt
2
3 ====================================================
4 Deprecation: #86182 - Protected TaskModuleController
5 ====================================================
6
7 See :issue:`86182`
8
9 Description
10 ===========
11
12 Class :php:`TYPO3\CMS\Taskcenter\Controller\TaskModuleController` no longer inherits
13 :php:`TYPO3\CMS\Backend\Module\BaseScriptClass`.
14
15 Single task classes should no longer expect to have an instance of the :php:`TaskModuleController`
16 set as :php:`$GLOBALS['SOBE']`.
17
18 The following properties of class :php:`TYPO3\CMS\Taskcenter\Controller\TaskModuleController`
19 changed their visibility from public to protected and should not be called any longer:
20
21 * [not scanned] :php:`MCONF`
22 * [not scanned] :php:`id`
23 * [not scanned] :php:`MOD_MENU`
24 * [not scanned] :php:`modMenu_type`
25 * [not scanned] :php:`modMenu_setDefaultList`
26 * [not scanned] :php:`modMenu_dontValidateList`
27 * [not scanned] :php:`content`
28 * [not scanned] :php:`perms_clause`
29 * [not scanned] :php:`CMD`
30 * [not scanned] :php:`extClassConf`
31 * [not scanned] :php:`extObj`
32
33 The following properties of class :php:`TYPO3\CMS\Taskcenter\Controller\TaskModuleController`
34 changed their visibility from public to protected and should not be called any longer:
35
36 * [not scanned] :php:`menuConfig`
37 * [not scanned] :php:`mergeExternalItems`
38 * [not scanned] :php:`handleExternalFunctionValue`
39 * [not scanned] :php:`getExternalItemConfig`
40 * [not scanned] :php:`main`
41 * :php:`urlInIframe`
42 * [not scanned] :php:`extObjHeader`
43 * [not scanned] :php:`checkSubExtObj`
44 * [not scanned] :php:`checkExtObj`
45 * [not scanned] :php:`extObjContent`
46 * [not scanned] :php:`getExtObjContent`
47
48 Impact
49 ======
50
51 Calling one of the above methods from an external object triggers a PHP :php:`E_USER_DEPRECATED` error.
52
53
54 Affected Installations
55 ======================
56
57 Most methods and properties are used internally in the :php:`TaskModuleController` only.
58 Instances with extensions delivering additional tasks for the
59 taskcenter may be affected.
60
61
62 Migration
63 =========
64
65 Single task should no longer rely on having an instance of :php:`TaskModuleController` set as
66 :php:`$GLOBALS['SOBE'], an instance of the object in given as first constructor argument.
67
68 Properties and methods that have been set to protected should be calculated internally instead.
69
70
71 .. index:: Backend, PHP-API, PartiallyScanned, ext:taskcenter