CityController.php 1.33 KB
Newer Older
raphael's avatar
raphael committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
class CityController extends ApiController {
  

	protected function beforeAction($action) {
	    parent::initPage();
	    return parent::beforeAction($action);
	}

	public function actions()
	{
	    return array(
	    	'get'					=> 'citizenToolKit.controllers.city.GetAction',
	        'getcitydata'     		=> 'citizenToolKit.controllers.city.GetCityDataAction',
	        'getcityjsondata'     	=> 'citizenToolKit.controllers.city.GetCityJsonDataAction',
	        'getcitiesdata'     	=> 'citizenToolKit.controllers.city.GetCitiesDataAction',
	        'getoptiondata'			=> 'citizenToolKit.controllers.city.GetOptionDataAction',
	        'getlistoption'			=> 'citizenToolKit.controllers.city.GetListOptionAction',
	        'getpodopendata'		=> 'citizenToolKit.controllers.city.GetPodOpenDataAction',
	        'addpodopendata'		=> 'citizenToolKit.controllers.city.AddPodOpenDataAction',
	        'getlistcities'			=> 'citizenToolKit.controllers.city.GetListCitiesAction',
	        'updatecitiesgeoformat' => 'citizenToolKit.controllers.city.UpdateCitiesGeoFormatAction',
	        'getinfoadressbyinsee'  => 'citizenToolKit.controllers.city.GetInfoAdressByInseeAction',
	        'cityexists'  			=> 'citizenToolKit.controllers.city.CityExistsAction',
	        'autocompletemultiscope'=> 'citizenToolKit.controllers.city.AutocompleteMultiScopeAction',

	    );
	}
}