public function categoriesAction() 
	{
		$main = $this->getServiceLocator()->get('neobazaar.service.main');
		$categories = $main->getDocumentEntityRepository()
			->getCategoryMultioptionsNoSlug($this->getServiceLocator());
		
		return new JsonModel(array('data' => $categories));
	}
public function categoriesAction() 
	{
		$main = $this->getServiceLocator()->get('neobazaar.service.main');
		$categories = $main->getDocumentEntityRepository()
			->getCategoryMultioptionsNoSlug($this->getServiceLocator());
		
		return new JsonModel(array('data' => $categories));
	}
public function categoriesAction ( ) { $ main = $ this -> getServiceLocator ( ) -> get ( 'neobazaar.service.main' ) ; $ categories = $ main -> getDocumentEntityRepository ( ) -> getCategoryMultioptionsNoSlug ( $ this -> getServiceLocator ( ) ) ; return new JsonModel ( array ( 'data' => $ categories ) ) ; }
Web service per la restituzione delle categorie

@return JsonModel
Web service per la restituzione delle categorie