public function updateTypePriceAction() { $db = new Application_Model_DbTable_DbGlobal(); if ($this->getRequest()->isPost()) { try { $post = $this->getRequest()->getPost(); $dbprice = new Product_Model_DbTable_DbPrice(); $dbprice->updatePricetype($post); $this->_redirect("product/adjust-stock/type-price"); } catch (Exception $e) { } } }