You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?php
  2. namespace common\helpers;
  3. class Departements {
  4. public static function get()
  5. {
  6. $depts = array();
  7. $depts["01"] = "Ain";
  8. $depts["02"] = "Aisne";
  9. $depts["03"] = "Allier";
  10. $depts["04"] = "Alpes de Haute Provence";
  11. $depts["05"] = "Hautes Alpes";
  12. $depts["06"] = "Alpes Maritimes";
  13. $depts["07"] = "Ardèche";
  14. $depts["08"] = "Ardennes";
  15. $depts["09"] = "Ariège";
  16. $depts["10"] = "Aube";
  17. $depts["11"] = "Aude";
  18. $depts["12"] = "Aveyron";
  19. $depts["13"] = "Bouches du Rhône";
  20. $depts["14"] = "Calvados";
  21. $depts["15"] = "Cantal";
  22. $depts["16"] = "Charente";
  23. $depts["17"] = "Charente Maritime";
  24. $depts["18"] = "Cher";
  25. $depts["19"] = "Corrèze";
  26. $depts["2A"] = "Corse du Sud";
  27. $depts["2B"] = "Haute Corse";
  28. $depts["21"] = "Côte d'Or";
  29. $depts["22"] = "Côtes d'Armor";
  30. $depts["23"] = "Creuse";
  31. $depts["24"] = "Dordogne";
  32. $depts["25"] = "Doubs";
  33. $depts["26"] = "Drôme";
  34. $depts["27"] = "Eure";
  35. $depts["28"] = "Eure et Loir";
  36. $depts["29"] = "Finistère";
  37. $depts["30"] = "Gard";
  38. $depts["31"] = "Haute Garonne";
  39. $depts["32"] = "Gers";
  40. $depts["33"] = "Gironde";
  41. $depts["34"] = "Hérault";
  42. $depts["35"] = "Ille et Vilaine";
  43. $depts["36"] = "Indre";
  44. $depts["37"] = "Indre et Loire";
  45. $depts["38"] = "Isère";
  46. $depts["39"] = "Jura";
  47. $depts["40"] = "Landes";
  48. $depts["41"] = "Loir et Cher";
  49. $depts["42"] = "Loire";
  50. $depts["43"] = "Haute Loire";
  51. $depts["44"] = "Loire Atlantique";
  52. $depts["45"] = "Loiret";
  53. $depts["46"] = "Lot";
  54. $depts["47"] = "Lot et Garonne";
  55. $depts["48"] = "Lozère";
  56. $depts["49"] = "Maine et Loire";
  57. $depts["50"] = "Manche";
  58. $depts["51"] = "Marne";
  59. $depts["52"] = "Haute Marne";
  60. $depts["53"] = "Mayenne";
  61. $depts["54"] = "Meurthe et Moselle";
  62. $depts["55"] = "Meuse";
  63. $depts["56"] = "Morbihan";
  64. $depts["57"] = "Moselle";
  65. $depts["58"] = "Nièvre";
  66. $depts["59"] = "Nord";
  67. $depts["60"] = "Oise";
  68. $depts["61"] = "Orne";
  69. $depts["62"] = "Pas de Calais";
  70. $depts["63"] = "Puy de Dôme";
  71. $depts["64"] = "Pyrénées Atlantiques";
  72. $depts["65"] = "Hautes Pyrénées";
  73. $depts["66"] = "Pyrénées Orientales";
  74. $depts["67"] = "Bas Rhin";
  75. $depts["68"] = "Haut Rhin";
  76. $depts["69"] = "Rhône";
  77. $depts["70"] = "Haute Saône";
  78. $depts["71"] = "Saône et Loire";
  79. $depts["72"] = "Sarthe";
  80. $depts["73"] = "Savoie";
  81. $depts["74"] = "Haute Savoie";
  82. $depts["75"] = "Paris";
  83. $depts["76"] = "Seine Maritime";
  84. $depts["77"] = "Seine et Marne";
  85. $depts["78"] = "Yvelines";
  86. $depts["79"] = "Deux Sèvres";
  87. $depts["80"] = "Somme";
  88. $depts["81"] = "Tarn";
  89. $depts["82"] = "Tarn et Garonne";
  90. $depts["83"] = "Var";
  91. $depts["84"] = "Vaucluse";
  92. $depts["85"] = "Vendée";
  93. $depts["86"] = "Vienne";
  94. $depts["87"] = "Haute Vienne";
  95. $depts["88"] = "Vosges";
  96. $depts["89"] = "Yonne";
  97. $depts["90"] = "Territoire de Belfort";
  98. $depts["91"] = "Essonne";
  99. $depts["92"] = "Hauts de Seine";
  100. $depts["93"] = "Seine St Denis";
  101. $depts["94"] = "Val de Marne";
  102. $depts["95"] = "Val d'Oise";
  103. $depts["97"] = "DOM";
  104. return $depts ;
  105. }
  106. }