/**
  * autocompletes countries from country tables
  * country.iso as id
  * country.name as value
  * *
  */
 public function getCountryCodesAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     $matterModel = new Application_Model_Matter();
     $country_codes = $matterModel->getCountryCodes($this->_getParam('term'));
     echo json_encode($country_codes);
 }