/** * */ public function printAction() { $this->_helper->layout()->setLayout('print'); $id = $this->_getParam('id'); $planning = $this->_mapper->detailPlanning($id); $this->view->planning = $planning; $filters = array('year_planning' => $planning->year_planning, 'fk_id_fefpeduinstitution' => $planning->id_fefpeduinstitution); $events = $this->_mapper->fetchEvents($filters); $this->view->events = $events; $this->view->user = Zend_Auth::getInstance()->getIdentity(); }