예제 #1
0
 public function iageographyAction()
 {
     if ($this->_getParam('term', false)) {
         $geographies = new Geography();
         $response = $geographies->getIronAgeGeography($this->_getParam('term'));
     } else {
         $response = array(array('id' => NULL, 'term' => 'No ruler specified'));
     }
     echo Zend_Json::encode($response);
 }