Deprecation: #100454 - Legacy tree implementations
See forge#100454
Description
Due to many refactorings in TYPO3's tree implementations in the past versions,
many implementations and functionality of the legacy rendering \TYPO3\
is not needed anymore.
The following PHP classes are not in use anymore and have been marked as deprecated:
\TYPO3\
CMS\ Backend\ Tree\ View\ Browse Tree View \TYPO3\
CMS\ Backend\ Tree\ View\ Element Browser Page Tree View
The base class is still available, but discouraged to be used or extended, even though TYPO3 still uses this in a few places.
The following properties and methods within the base class
Abstract
have either been marked as deprecated or
declared as internal:
Abstract
Tree View->this Script Abstract
Tree View->BE_ USER Abstract
Tree View->clause Abstract
Tree View->title Abstract
Tree View->table Abstract
Tree View->parent Field Abstract
Tree View->order By Fields Abstract
Tree View->field Array Abstract
Tree View->default List Abstract
Tree View->determine Script Url () Abstract
Tree View->get This Script () Abstract
Tree View->PM_ ATag Wrap () Abstract
Tree View->add Tag Attributes () Abstract
Tree View->get Root Icon () Abstract
Tree View->get Icon () Abstract
Tree View->get Root Record () Abstract
Tree View->get Title Str () Abstract
Tree View->get Title Attrib ()
Impact
Instantiating the deprecated classes or calling the deprecated methods will
trigger a PHP deprecation warning, except for
Abstract
, which is still used internally by
deprecated code.
The Extension Scanner will find those usages and additionally also reports
usages of the corresponding public properties of the Abstract
class.
Affected installations
TYPO3 installations with custom extensions using this functionality. This is usually the case for old installations from TYPO3 v6 or TYPO3 v4 times.
Migration
It is recommended to avoid generating the markup directly in PHP. Instead use one of various other tree functionalities (for example, see PageTree implementations) in PHP and render trees via web components or Fluid.