[BUGFIX] Adding back access to parentMenuArr and menuitem in subMenu 76/50376/3
authorStefan Bürk <stefan.buerk@impactmedia.de>
Fri, 29 Jul 2016 07:52:00 +0000 (09:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 25 Oct 2016 20:43:24 +0000 (22:43 +0200)
commit9167a9eae40037506514f44023b87d58a9075101
tree4dbee101e46806dce9bb224cb7d8f72880298cd8
parented57ea9f9279bf02df74709f7f1eb7aa64aa5850
[BUGFIX] Adding back access to parentMenuArr and menuitem in subMenu

Adding the possibility to access the menuArr and direct menuItem from
the parent menu in subMenu instances to provide the ability to check
for parent item information or parent sibling item informations.

Providing two getters and a combined setter, called in the subMenu
method to readd this data access instead of simple using the old
unsafe and undeclared property set.

Leaving the parentMenuArr member public for now, even it is not
nice.

Resolves: #77296
Releases: master, 7.6
Change-Id: I3cfce3c67e840e6e97fa9c55ffaf997a509ee0e8
Reviewed-on: https://review.typo3.org/50376
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php