[TASK] Reduce PageLayoutController and PageLayoutView dependencies 38/42838/2
authorOliver Hader <oliver@typo3.org>
Sat, 22 Aug 2015 11:48:15 +0000 (13:48 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 17 Sep 2015 21:16:52 +0000 (23:16 +0200)
commitf83295f0ec440b385a79ca85aa039b9de35e0c68
tree4cd1a601ef152a3e4a224d38ab9e854a1e0f3f96
parent1b0d4d85cbde93028376697d67b5f9531731ea04
[TASK] Reduce PageLayoutController and PageLayoutView dependencies

This is a follow-up to #68395 to reduce complexity and exposed
public API of that change.

Even if class components have the names "controller" and "view",
which implies an underlying MVC-stack, the PageLayout components
are far from using the pattern. That's why it's quite fine to put
processing logic to the place where it makes most sense and where
dependencies and cross-calls to other objects are kept low.

This change is only about refactoring and reducing the public API
in terms of information hiding and encapsulation. Besides that
the $languagesInColumnCache class variable was defined but never
use - which is changed now as well. Further flaws concerning
proper record selection are part of another change.

Related: #68395
Resolves: #69261
Releases: master
Change-Id: I8bb7737d154a5d2c7a584dbe11fd0a5abfabafba
Reviewed-on: http://review.typo3.org/42838
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php