]> git.mxchange.org Git - core.git/commitdiff
Menu calls added (stubs)
authorRoland Häder <roland@mxchange.org>
Sun, 30 Aug 2009 02:03:10 +0000 (02:03 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 30 Aug 2009 02:03:10 +0000 (02:03 +0000)
inc/classes/main/commands/web/class_WebConfirmCommand.php
inc/classes/main/commands/web/class_WebHomeCommand.php
inc/classes/main/commands/web/class_WebLoginAreaCommand.php
inc/classes/main/commands/web/class_WebLoginCommand.php
inc/classes/main/commands/web/class_WebLoginFailedCommand.php
inc/classes/main/commands/web/class_WebLogoutDoneCommand.php
inc/classes/main/commands/web/class_WebRegisterCommand.php
inc/classes/main/commands/web/class_WebStatusCommand.php

index 220ae5ce60d3aaae0965fb85b137d678f0f5ca23..6b0a78123d8925f2b0985a757bde759eee4808f7 100644 (file)
@@ -113,6 +113,12 @@ class WebConfirmCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('confirm_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.
index 56e112efccce88a8de1bca65accd17e312a78a9d..f9b6b97ff83e63d4c07c6f15c259049160e5cfd7 100644 (file)
@@ -99,6 +99,12 @@ class WebHomeCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('home_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.
index 8eb65a931167975c77a65757121704c9f0ecf7ea..15ef12d8b7e95e5a29b650d75e9419697089a185 100644 (file)
@@ -136,6 +136,12 @@ class WebLoginAreaCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('login_area_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.
index 981ad63a44b4e3a9ea2de5ddeef16ca9e7731c6e..2fc7deecae6fb4244c4e9737dcae89a9b3aa02b0 100644 (file)
@@ -105,6 +105,12 @@ class WebLoginCommand extends BaseCommand implements Commandable, Registerable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('login_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.
index 1e39413bebdb9fc0617e49486a1bf1e8b2b2b3b8..1aee707c058b275f0f732d82ab3e4c9b1b87547a 100644 (file)
@@ -102,6 +102,12 @@ class WebLoginFailedCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('login_failed_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.
index 123764831d89787f89bebe9f02c631a4469d7363..1cb62fa5d8e229434e1e3101bf0be08dd238dd1a 100644 (file)
@@ -102,6 +102,12 @@ class WebLogoutDoneCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('logout_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.
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.
index f07eb35a579b7ae7473e3471abb4e6447084c664..ac64ef5c4a83e725896ea7b5dd3336d0ef4dff7f 100644 (file)
@@ -100,6 +100,12 @@ class WebStatusCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('status_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.