public function ajaxCurrentPatientStationAction() { $personId = (int) $this->_getParam('personId'); $routing = new Routing(); $routeIter = $routing->getIterator(); $routeIter->setFilter(array('personId' => $personId)); $routing = $routeIter->current(); $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json'); $json->suppressExit = true; $json->direct(array($routing->stationId)); }