[!!!][TASK] Remove deprecated code from ContentObjectRenderer
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-72361-RemovedDeprecatedContentObjectWrappers.rst
1 =============================================================
2 Breaking: #72361 - Removed deprecated content object wrappers
3 =============================================================
4
5 Description
6 ===========
7
8 The following wrapper methods for ContentObject rendering within ContentObjectRenderer
9 have been removed:
10
11 .. code-block:: php
12
13 FLOWPLAYER()
14 TEXT()
15 CLEARGIF()
16 COBJ_ARRAY()
17 USER()
18 FILE()
19 FILES()
20 IMAGE()
21 IMG_RESOURCE()
22 IMGTEXT()
23 CONTENT()
24 RECORDS()
25 HMENU()
26 CTABLE()
27 OTABLE()
28 COLUMNS()
29 HRULER()
30 CASEFUNC()
31 LOAD_REGISTER()
32 FORM()
33 SEARCHRESULT()
34 TEMPLATE()
35 FLUIDTEMPLATE()
36 MULTIMEDIA()
37 MEDIA()
38 SWFOBJECT()
39 QTOBJECT()
40 SVG()
41
42
43 Impact
44 ======
45
46 Using the methods above directly in any third party extension will result in a fatal error.
47
48
49 Affected Installations
50 ======================
51
52 Instances which use custom calls to ContentObjects via the methods above.
53
54
55 Migration
56 =========
57
58 Replace the direct method calls to ``$contentObject->COBJECT()`` with the common method.
59
60 Example for the SVG() ContentObject call:
61
62 .. code-block:: php
63
64 $cObj->cObjGetSingle('SVG', $conf);