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