isEnabled()) { $controller = $this->_request->getControllerName(); $action = $this->_request->getActionName(); $view = $layout->getView(); require_once 'Scores/PagePrint.php'; $page = new PagePrint($controller, $action); if ($page->exportable('xml') && !empty($view->exportObjet)) { $page->objectToXML($view->exportObjet, $this->_request->getParams()); } } } }