Bug #38138
closedTask #38086: Enhance TYPO3 bootstrap mechanism
Add module menu object to the TYPO3 backend
100%
Description
The backend at the moment uses a combination of the GLOBAL variables TBE_MODULES and TBE_MODULES_EXT to build the main menus of the backend (the module menu on the left and the submodule menus of the backend modules - look at info for an example).
To be able to easily change the representation of these menus and to offer a clean API for rendering menus the menu is refactored into an object structure with n levels. At the moment the old GLOBALS are migrated to a 3 level menu object. This means that you can use the module menu object in your backend modules to render your submenu.
This patch just adds the object structure and transformation. It does not change any handling of menus in the core itself. These changes can be done piece by piece after this patch.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146
Updated by Susanne Moog over 12 years ago
You can test the change with adding
$moduleMenu = t3lib_div::makeInstance('Typo3_ModuleMenu'); var_dump($moduleMenu);
for example in the about index controller and having a look at the source code.
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146
Updated by Susanne Moog over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset da64930b319d437e6e0ee3df62480018684aa6d5.