generateMenu ();
if (file_exists ($action->getFullPathTo (Action::PREPARE)))
include $action->getFullPathTo (Action::PREPARE);
while ($item = Menu::singleton ()->get ())
echo $item;
$_OUTPUT ['SECTION_MENU'] = '
';
ob_start ();
include $action->getFullPathTo (Action::VIEW);
$_OUTPUT ['SECTION'] = ob_get_clean ();
}
catch (PDOException $e)
{
ob_end_clean ();
$message->addWarning ($e->getMessage ());
}
catch (Exception $e)
{
ob_end_clean ();
$message->addWarning ($e->getMessage ());
}
?>