1
2.. include:: ../../Includes.txt
3
4================================================================
5Breaking: #72392 - Removed deprecated code from DocumentTemplate
6================================================================
7
8See :issue:`72392`
9
10Description
11===========
12
13Remove deprecated code from DocumentTemplate
14
15The following properties have been removed:
16
17`JScodeLibArray`
18`docType`
19`inDocStyles`
20`endJS`
21`bgColor`
22`bgColor2`
23`bgColor3`
24`bgColor4`
25`bgColor5`
26`bgColor6`
27`hoverColor`
28`backGroundImage`
29`inDocStyles_TBEstyle`
30`parseTimeFlag`
31`charset`
32
33The following methods have been removed:
34
35`getPageRenderer()`
36`wrapClickMenuOnIcon()`
37`issueCommand()`
38`formatTime()`
39`parseTime()`
40`spacer()`
41`endPageJS()`
42`dfw()`
43`rfw()`
44`table()`
45`menuTable()`
46`getDynamicTabMenu()`
47`getDynTabMenu()`
48`getDynTabMenuId()`
49`collapseableSection()`
50
51
52Impact
53======
54
55Using the methods above directly in any third party extension will result in a fatal error.
56
57
58Affected Installations
59======================
60
61Instances which use calls to any of the above mentioned methods.
62
63
64Migration
65=========
66
67For `wrapClickMenuOnIcon()` use `BackendUtility::wrapClickMenuOnIcon()` instead.
68For `issueCommand()` use `BackendUtility::getLinkToDataHandlerAction()` instead.
69For `formatTime()` and `parseTime()` use the corresponding methods in BackendUtility.
70For `rfw()` and `dfw()` use proper HTML directly instead.
71For `getDynamicTabMenu()` use `getDynamicTabMenu()` from ModuleTemplate instead.
72For `collapseableSection()` use HTML bootstrap classes, localStorage etc.
73
74.. index:: PHP-API, Backend
75