public function stockBinPlacementAction() { $stock_master = new Model_StockMaster(); $id = $this->_request->getParam('id', ''); $area = $this->_request->getParam('area', ''); $level = $this->_request->getParam('level', ''); $placement_location_id = $this->_em->getRepository("PlacementLocations")->find($id); $location_id = $placement_location_id->getLocationId(); $non_ccm = $this->_em->find("NonCcmLocations", $location_id); $location_name = $non_ccm->getLocationName(); $stock_master->form_values['id'] = $id; $data_record = $stock_master->getAllItem(); $this->view->id = $id; $this->view->area = $area; $this->view->level = $level; $this->view->title = $location_name; $this->view->form = $form; $this->view->result = $data_record; }