public function stockBinPlacementVaccinesAction() { $stock_master = new Model_StockMaster(); $id = $this->_request->getParam('id', ''); $placement_location_id = $this->_em->getRepository("PlacementLocations")->find($id); $location_id = $placement_location_id->getLocationId(); $cold_chain = $this->_em->find("ColdChain", $location_id); $location_name = $cold_chain->getAssetId(); $stock_master->form_values['id'] = $id; $data_record = $stock_master->getAllItemVaccines(); $this->view->id = $id; $this->view->title = $location_name; //$this->view->form = $form; $this->view->result = $data_record; }