/** * gets autocomplete list from caserefs of container matters * * */ public function getContainerRefersAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); $term = $this->_getParam('term'); $caseref = $this->_getParam('caseref'); $matter_id = $this->_getParam('matter_id'); $matterModel = new Application_Model_Matter(); $matter_refers = $matterModel->getContainerRefers($caseref, $term, $matter_id); // print_r($matter_refers); exit(); echo json_encode($matter_refers); }