getParam('siret', null); $id = $request->getParam('id', null); if (empty($siret) && empty($id)) { require_once 'Scores/SessionEntreprise.php'; $session = new SessionEntreprise($siret); $siret = $session->getSiret(); $id = $session->getId(); } $layout = Zend_Layout::getMVCInstance(); if ($layout->isEnabled() && $request->getControllerName()!='print') { //Génération du menu require_once 'Scores/Menu.php'; $computeMenu = new Menu($siret, $id); $menu = $computeMenu->getMenu(); $view = $layout->getView(); $view->navigation($menu); //Génération identifiant Menu $view->menuId = $computeMenu->getIdMenu($request->getControllerName(), $request->getActionName()); //Gestion affichage Lien Print / PDF / XML require_once 'Scores/PagePrint.php'; $page = new PagePrint($request->getControllerName(), $request->getActionName()); if ($page->exportable('print')){ $view->print = $page->filename('print', $request->getParams()); } if ($page->exportable('pdf')){ $view->pdf = $page->filename('pdf', $request->getParams()); } if ($page->exportable('xml')){ $view->xml = $page->filename('xml', $request->getParams()); } } } }