namespace CoreFramework\Menu;
// Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Registry\Registry;
use CoreFramework\Template\CompileableTemplate;
/**
$templateInstance->loadMenuTemplate('generic_menu_entries');
// Get the 'command' from request instance
- $command = $this->getApplicationInstance()->getRequestInstance()->getRequestElement('command');
+ $command = FrameworkBootstrap::getRequestInstance()->getRequestElement('command');
// If page is empty, choose default
if (empty($command)) {
// Use default page as none has been specified
- $command = $this->getConfigInstance()->getConfigEntry('default_' . $this->getApplicationInstance()->getAppShortName() . '_' . self::getResponseTypeFromSystem() . '_command');
+ $command = $this->getConfigInstance()->getConfigEntry('default_' . Registry::getRegistry()->getInstance('app')->getAppShortName() . '_' . FrameworkBootstrap::getRequestTypeFromSystem() . '_command');
} // END - if
// Load the menu template for this page