SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoMEX.php

  1. <?php
  2. /*
  3.  * Copyright (C) 2017 Karmabunny Pty Ltd.
  4.  *
  5.  * This file is a part of SproutCMS.
  6.  *
  7.  * SproutCMS is free software: you can redistribute it and/or modify it under the terms
  8.  * of the GNU General Public License as published by the Free Software Foundation, either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * For more information, visit <http://getsproutcms.com>.
  12.  */
  13.  
  14. namespace Sprout\Helpers\Locales;
  15.  
  16.  
  17. /**
  18.  * Locale info for Mexico; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoMEX extends LocaleInfo
  21. {
  22. protected $state_list = [
  23. 'AGU' => 'Aguascalientes',
  24. 'BCN' => 'Baja California',
  25. 'BCS' => 'Baja California Sur',
  26. 'CAM' => 'Campeche',
  27. 'CHH' => 'Chihuahua',
  28. 'CHP' => 'Chiapas',
  29. 'COA' => 'Coahuila',
  30. 'COL' => 'Colima',
  31. 'DIF' => 'Distrito Federal',
  32. 'DUR' => 'Durango',
  33. 'GRO' => 'Guerrero',
  34. 'GUA' => 'Guanajuato',
  35. 'HID' => 'Hidalgo',
  36. 'JAL' => 'Jalisco',
  37. 'MEX' => 'México',
  38. 'MIC' => 'Michoacán',
  39. 'MOR' => 'Morelos',
  40. 'NAY' => 'Nayarit',
  41. 'NLE' => 'Nuevo León',
  42. 'OAX' => 'Oaxaca',
  43. 'PUE' => 'Puebla',
  44. 'QUE' => 'Querétaro',
  45. 'ROO' => 'Quintana Roo',
  46. 'SIN' => 'Sinaloa',
  47. 'SLP' => 'San Luis Potosí',
  48. 'SON' => 'Sonora',
  49. 'TAB' => 'Tabasco',
  50. 'TAM' => 'Tamaulipas',
  51. 'TLA' => 'Tlaxcala',
  52. 'VER' => 'Veracruz',
  53. 'YUC' => 'Yucatán',
  54. 'ZAC' => 'Zacatecas',
  55. ];
  56. }
  57.