SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoHUN.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 Hungary; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoHUN extends LocaleInfo
  21. {
  22. protected $state_list = [
  23. 'BA' => 'Baranya',
  24. 'BC' => 'Békéscsaba',
  25. 'BE' => 'Békés',
  26. 'BK' => 'Bács-Kiskun',
  27. 'BU' => 'Budapest',
  28. 'BZ' => 'Borsod-Abaúj-Zemplén',
  29. 'CS' => 'Csongrád',
  30. 'DE' => 'Debrecen',
  31. 'DU' => 'Dunaújváros',
  32. 'EG' => 'Eger',
  33. 'ER' => 'Érd',
  34. 'FE' => 'Fejér',
  35. 'GS' => 'Győr‐Moson‐Sopron',
  36. 'GY' => 'Győr',
  37. 'HB' => 'Hajdú-Bihar',
  38. 'HE' => 'Heves',
  39. 'HV' => 'Hódmezővásárhely',
  40. 'JN' => 'Jász-Nagykun-Szolnok',
  41. 'KE' => 'Komárom-Esztergom',
  42. 'KM' => 'Kecskemét',
  43. 'KV' => 'Kaposvár',
  44. 'MI' => 'Miskolc',
  45. 'NK' => 'Nagykanizsa',
  46. 'NO' => 'Nógrád',
  47. 'NY' => 'Nyíregyháza',
  48. 'PE' => 'Pest',
  49. 'PS' => 'Pécs',
  50. 'SD' => 'Szeged',
  51. 'SF' => 'Székesfehérvár',
  52. 'SH' => 'Szombathely',
  53. 'SK' => 'Szolnok',
  54. 'SN' => 'Sopron',
  55. 'SO' => 'Somogy',
  56. 'SS' => 'Szekszárd',
  57. 'ST' => 'Salgótarján',
  58. 'SZ' => 'Szabolcs-Szatmár-Bereg',
  59. 'TB' => 'Tatabánya',
  60. 'TO' => 'Tolna',
  61. 'VA' => 'Vas',
  62. 'VE' => 'Veszprém',
  63. 'VM' => 'Veszprém',
  64. 'ZA' => 'Zala',
  65. 'ZE' => 'Zalaegerszeg',
  66. ];
  67. }
  68.