]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/web/class_WebRegisterCommand.php
Menu calls added (stubs)
[core.git] / inc / classes / main / commands / web / class_WebRegisterCommand.php
index d72a3acd885cbb9e488aabf8eef49e2d77591497..d65c23ecc5df80658fe50a09178384b79cdb1929 100644 (file)
@@ -106,6 +106,12 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('register_menu_class', array($appInstance));
 
+               // Render the menu
+               $menuInstance->renderMenu();
+
+               // Transfer it to the template engine instance
+               $menuInstance->transferToTemplateEngine($templateInstance);
+
                // ... and all variables. This should be merged together in a pattern
                // to make things easier. A cache mechanism should be added between
                // these two calls to cache compiled templates.