/** * */ public function printAction() { $this->_helper->layout()->setLayout('print'); $id = $this->_getParam('id'); $registration = $this->_mapper->detail($id); $this->view->registration = $registration; $this->view->user = Zend_Auth::getInstance()->getIdentity(); $mapperClient = new Client_Model_Mapper_Client(); $this->view->non_formal_scholarity = $mapperClient->listScholarity($registration->fk_id_perdata, Register_Model_Mapper_PerTypeScholarity::NON_FORMAL); $this->view->formal_scholarity = $mapperClient->listScholarity($registration->fk_id_perdata, Register_Model_Mapper_PerTypeScholarity::FORMAL); $this->view->entities = $this->_mapper->listEntities($id); $groups = $this->_mapper->groupFormation($id); $this->view->groups = $groups; }
/** * */ public function selectEntityAction() { $data = $this->_getAllParams(); $this->_helper->layout()->disableLayout(); $this->view->registration = $data; $mapperFeRegistration = new Fefop_Model_Mapper_FERegistration(); $this->view->entities = $mapperFeRegistration->listEntities($data['id_fe_registration']); }