public function ajaxGetAnimalTypeAction() { $this->view->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); $animal_id = $this->_getParam('animal_id'); $objPrivilege = new Security_Model_SystemMapping(); $subgroups = $objPrivilege->getAnimalTypeArray($animal_id); echo Zend_Json::encode($subgroups); }