public function locationsAction() 
	{
		$main = $this->getServiceLocator()->get('neobazaar.service.main');
		$locations = $main->getGeonamesEntityRepository()
        	->getLocationMultioptions($this->getServiceLocator());
		
		return new JsonModel(array('data' => $locations));
	}
public function locationsAction() 
	{
		$main = $this->getServiceLocator()->get('neobazaar.service.main');
		$locations = $main->getGeonamesEntityRepository()
        	->getLocationMultioptions($this->getServiceLocator());
		
		return new JsonModel(array('data' => $locations));
	}
public function locationsAction ( ) { $ main = $ this -> getServiceLocator ( ) -> get ( 'neobazaar.service.main' ) ; $ locations = $ main -> getGeonamesEntityRepository ( ) -> getLocationMultioptions ( $ this -> getServiceLocator ( ) ) ; return new JsonModel ( array ( 'data' => $ locations ) ) ; }
Web service per la restituzione delle locations

@return JsonModel
Web service per la restituzione delle locations