public function getchequesbyprovidfilterajaxAction() { try { $request = $this->getRequest(); if ($this->getRequest()->isPost()) { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); $provId = (int) $request->prov_id; $pos = (int) $request->pos; $liqDate = $request->liqDate; if ($provId) { $cMapper = new Gyuser_Model_ChequesDataMapper(); $result = $cMapper->GetChequeDetailsByProvIdJson($provId, $pos, $liqDate); if ($result) { echo json_encode($result); } else { echo 'f'; } } } } catch (Exception $e) { echo $e; } }