常用方法
常用方法
常用方法
常用方法
/** * autocompletes matter.type from matter table * * */ public function getMatterTypesAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); $matterModel = new Application_Model_Matter(); $matter_types = $matterModel->getMatterTypes($this->_getParam('term')); echo json_encode($matter_types); }