public function autoCompletarBairroAction() { $this->_helper->viewRenderer->setNoRender(); $this->_helper->layout->disableLayout(); $model = new Default_Model_Cidade(); $id_cidade = $this->_request->getParam('cidade'); $bairros = $model->buscarBairro($id_cidade); $this->_helper->json(array('data' => $bairros)); }