<?php
+// Own namespace
+namespace CoreFramework\Menu;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Template\CompileableTemplate;
+
/**
* A general menu system class
*
$templateInstance->loadMenuTemplate($command . '_menu_entries');
} catch (FileNotFoundException $e) {
// Log exception @TODO Maybe to intrusive?
- self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Exception caught: ' . $e->__toString() . ', with message: ' . $e->getMessage());
+ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Exception caught: ' . $e->__toString() . ', with message: ' . $e->getMessage());
}
// Render template data here
$templateInstance->assignVariable('menu', $this->getTemplateInstance()->getMenuContent());
//* DEBUG */ $templateInstance->debugInstance();
}
-}
-// [EOF]
-?>
+}