[BUGFIX] Adding back access to parentMenuArr and menuitem in subMenu 60/49260/11
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:32:00 +0000 (22:32 +0200)
commit5b1dcea471108e90eed23999cbd339fe25045081
tree73e7390db2429f95cc93d8714c6629a1949d22bf
parent5bb7eb6e61256678bdcd44dd9c32e1dd24b07119
[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/49260
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-77296-DeprecatePublicMemberParentMenuArrInAbstractMenuContentObject.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php