]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/web/class_WebLoginCommand.php
As of a good naming convention, do not short-cut variables
[core.git] / inc / classes / main / commands / web / class_WebLoginCommand.php
index 18277928fb26345c2a7af9ede9bb849aac2b3b15..89b67129d684d8fca65bd15eb81e05d8b638c4bb 100644 (file)
@@ -61,19 +61,19 @@ class WebLoginCommand extends BaseCommand implements Commandable, Registerable {
                Registry::getRegistry()->addInstance('extra', $this);
 
                // Get the application instance
-               $appInstance = $this->getResolverInstance()->getApplicationInstance();
+               $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
 
                // Prepare a template instance
-               $templateInstance = $this->prepareTemplateInstance($appInstance);
+               $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Assign application data with template engine
-               $templateInstance->assignApplicationData($appInstance);
+               $templateInstance->assignApplicationData($applicationInstance);
 
                // Assign base URL
                $templateInstance->assignConfigVariable('base_url');
 
                // Load the master template
-               $masterTemplate = $appInstance->buildMasterTemplateName();
+               $masterTemplate = $applicationInstance->buildMasterTemplateName();
 
                // Load header template
                $templateInstance->loadCodeTemplate('header');
@@ -103,7 +103,7 @@ class WebLoginCommand extends BaseCommand implements Commandable, Registerable {
 
                // Construct the menu in every command. We could do this in BaseCommand class. But this means
                // *every* command has a navigation system and that is want we don't want.
-               $menuInstance = ObjectFactory::createObjectByConfiguredName('login_menu_class', array($appInstance));
+               $menuInstance = ObjectFactory::createObjectByConfiguredName('login_menu_class', array($applicationInstance));
 
                // Render the menu
                $menuInstance->renderMenu();