[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / Deprecation-86047-TSFEPropertiesMethodsAndChangeVisibility.rst
1 .. include:: ../../Includes.txt
2
3 =====================================================================
4 Deprecation: #86047 - TSFE properties / methods and change visibility
5 =====================================================================
6
7 See :issue:`86047`
8
9 Description
10 ===========
11
12 The following properties have changed their visibility from public to protected.
13
14 * :php:`TypoScriptFrontendController->pageAccessFailureHistory`
15 * :php:`TypoScriptFrontendController->workspacePreview` (not in use anymore)
16 * :php:`TypoScriptFrontendController->ADMCMD_preview_BEUSER_uid` (not in use anymore)
17 * :php:`TypoScriptFrontendController->debug` (not in use anymore)
18 * :php:`TypoScriptFrontendController->MP_defaults` (not in use anymore outside of TSFE)
19 * :php:`TypoScriptFrontendController->loginAllowedInBranch` (use checkIfLoginAllowedInBranch())
20
21 The following methods have changed their signature to be protected, as their purpose is to be called from
22 within :php:`TypoScriptFrontendController`.
23
24 * :php:`TypoScriptFrontendController->tempPageCacheContent()`
25 * :php:`TypoScriptFrontendController->realPageCacheContent()`
26 * :php:`TypoScriptFrontendController->setPageCacheContent()`
27 * :php:`TypoScriptFrontendController->clearPageCacheContent_pidList()`
28 * :php:`TypoScriptFrontendController->setSysLastChanged()`
29 * :php:`TypoScriptFrontendController->contentStrReplace()`
30
31
32 Impact
33 ======
34
35 Calling any of the PHP methods will trigger a PHP :php:`E_USER_DEPRECATED` error, as well as accessing any of the
36 previously public properties.
37
38
39 Affected Installations
40 ======================
41
42 Any TYPO3 installation with extensions directly calling one of the methods or using one of the
43 public properties.
44
45
46 Migration
47 =========
48
49 For :php:`TypoScriptFrontendController->ADMCMD_preview_BEUSER_uid` use the backend.user aspect of the Context API.
50 For :php:`TypoScriptFrontendController->workspacePreview` use the workspace aspect of the Context API.
51 For :php:`TypoScriptFrontendController->loginAllowedInBranch` use the method :php:`checkIfLoginAllowedInBranch()` instead.
52
53 .. index:: Frontend, FullyScanned, ext:frontend