[!!!][TASK] Streamline ElementBrowser mode handling 75/42875/4
authorMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 16:37:23 +0000 (18:37 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 25 Aug 2015 20:06:36 +0000 (22:06 +0200)
commit85ce7616d05c75dcee8b6dec29c5d2f342b882dd
tree7f6f3836590fff1c20840856544d4b84b42ca4a4
parent77256a0864f38772ab869e5ef12530db0a43fa2c
[!!!][TASK] Streamline ElementBrowser mode handling

The ElementBrowser now has a main entry point which takes
care of dispatching to the the various modes.
The main_*() methods of ElementBrowser are therefore made protected.

The $mode member of ElementBrowserController is not needed
by outside code and is therefore protected as well.

Additionally, the $content member of ElementBrowserController and
the printContent() method are removed.

Resolves: #69315
Releases: master
Change-Id: Ib9790915e72d3a5a460211a93ceeda24ee165c3e
Reviewed-on: http://review.typo3.org/42875
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Breaking-69315-ElementBrowsermain_Protected.rst [new file with mode: 0644]
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php
typo3/sysext/rtehtmlarea/Classes/SelectImage.php