// Load the menu template for this page
try {
$templateInstance->loadMenuTemplate($command . '_menu_entries');
- } catch (FileIoException $e) {
+ } catch (FileNotFoundException $e) {
// Log exception @TODO Maybe to intrusive?
self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Exception caught: ' . $e->__toString() . ', with message: ' . $e->getMessage());
}
*/
public function transferContentToTemplateEngine (CompileableTemplate $templateInstance) {
// Assign menu content to variable
- $templateInstance->assignVariable('menu_content', $this->getTemplateInstance()->getMenuContent());
+ $templateInstance->assignVariable('menu', $this->getTemplateInstance()->getMenuContent());
//* DEBUG */ $templateInstance->debugInstance();
}
}