function placementAreaAction() { $form = new Form_PlacementArea(); $non_ccm_location = new Model_NonCcmLocations(); if ($this->_request->getPost()) { $non_ccm_location->form_values = $this->_request->getPost(); $non_ccm_location->placement(); $this->redirect("/stock/placement?success=1"); } $this->view->form = $form; $result = $non_ccm_location->getLocationsName(); $this->view->result = $result; }