[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / Deprecation-86197-ProtectedFileListController.rst
1 .. include:: ../../Includes.txt
2
3 ==================================================
4 Deprecation: #86197 - Protected FileListController
5 ==================================================
6
7 See :issue:`86197`
8
9 Description
10 ===========
11
12 The following properties changed their visibility from public to protected and should not be called any longer:
13
14 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->MOD_MENU`
15 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->MOD_SETTINGS`
16 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->doc`
17 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->id`
18 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->pointer`
19 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->table`
20 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->imagemode`
21 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->cmd`
22 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->filelist`
23
24 The following methods changed their visibility from public to protected and should not be called any longer:
25
26 * :php:`TYPO3\CMS\Beuser\Controller\BackendUserController->initializeView()`
27 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->menuConfig()`
28 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->initializeView()`
29 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->initializeIndexAction()`
30 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->indexAction()`
31 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->missingFolderAction()`
32 * :php:`TYPO3\CMS\Filelist\Controller\FileListController->searchAction()`
33
34 Additionally, first constructor argument :php:`$fileListController` of class
35 :php:`TYPO3\CMS\Filelist\FileList` is now optional, class property :php:`$fileListController`
36 should not be used any longer in hooks of that class.
37
38
39 Impact
40 ======
41
42 Calling one of the above properties or methods from a third party object triggers a PHP :php:`E_USER_DEPRECATED` error.
43
44
45 Affected Installations
46 ======================
47
48 Controllers of the core are usually not called by extensions directly, but only through core routing and
49 dispatching mechanisms. Extensions are unlikely to be affected by this change.
50
51
52 Migration
53 =========
54
55 No migration possible.
56
57 .. index:: Backend, PHP-API, NotScanned, ext:filelist