public function transactionlistAction() { $Transaction = new Model_Transaction(); if ($this->_getParam('export') == 1) { $this->_helper->layout()->setLayout('export'); $this->view->export = 1; } $urlParam = ''; foreach ($_POST as $postKey => $postValue) { if ($postValue != '') { $urlParam .= $postKey . '/' . $postValue . '/'; } } if ($_POST && isset($_POST['q'])) { $this->_redirect('/admin/transactionsearch/' . $urlParam); /* if(isset($_POST['pm']) && $_POST['pm'] > 0 ) { $this->_redirect('/admin/transactionsearch/pm/'.$_POST['pm']); } if( isset($_POST['st']) && $_POST['st'] > 0 ) { $this->_redirect('/admin/transactionsearch/st/'.$_POST['st']); } $this->_redirect('/admin/transactionsearch/q/'.$_POST['q']); */ } $Transactions = $Transaction->ListTransaction(); $this->paginator($Transactions); }