public function viewdataexaminationmaterialAction()
 {
     $cdmaterial = $this->_request->getParam("cdmaterial");
     $cdexaminationmaterial = $this->_request->getParam("cdexaminationmaterial");
     $examinationModel = new ExaminationModel();
     $materialModel = new MaterialModel();
     $attributeModel = new attributeModel();
     $attributeEMModel = new attributeexaminationmaterialModel();
     $physicallocationModel = new PhysicallocationModel();
     $timeFrameModel = new TimeframeModel();
     $dataMaterial = $materialModel->fetchRow($materialModel->getMaterialByCd($cdmaterial));
     $nmmaterial = $dataMaterial["nmmaterial"];
     $subexaminationData = $examinationModel->fetchAll();
     $this->view->subexaminationData = $subexaminationData;
     $materialData = $materialModel->fetchAll();
     $this->view->materialData = $materialData;
     // GET attributos relacionados ao material
     $attributeData = $attributeEMModel->fetchAll($attributeEMModel->getAttributeExaminationMaterial($cdexaminationmaterial));
     $this->view->attributeData = $attributeData;
     $physicallocationParentData = $physicallocationModel->getParentLocation();
     $this->view->parentlocationData = $physicallocationParentData;
     $physicallocationChildData = $physicallocationModel->getLocationByParentNotNull();
     $this->view->parentlocationData = $physicallocationChildData;
     $timeFrameData = $timeFrameModel->fetchAll($timeFrameModel->getAllTimeFrames());
     $this->view->timeFrameData = $timeFrameData;
     $examinationData = $examinationModel->fetchAll($examinationModel->getByAttributeExaminationMaterial());
     $this->view->timeFrameData = $examinationData;
     $this->view->examinationmaterialCDmaterial = $cdmaterial;
     $this->view->examinationmaterialNMmaterial = $nmmaterial;
 }
 public function indexAction()
 {
     $physicallocationModel = new PhysicallocationModel();
     $physicallocationData = $physicallocationModel->getParentLocation();
     $this->view->physicallocationData = $physicallocationData;
 }