SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoCHE.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 Switzerland; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoCHE extends LocaleInfo
  21. {
  22. protected $state_list = [
  23. 'AG' => 'Aargau',
  24. 'AI' => 'Appenzell Innerrhoden',
  25. 'AR' => 'Appenzell Ausserrhoden',
  26. 'BE' => 'Bern',
  27. 'BL' => 'Basel-Landschaft',
  28. 'BS' => 'Basel-Stadt',
  29. 'FR' => 'Fribourg',
  30. 'GE' => 'Genève',
  31. 'GL' => 'Glarus',
  32. 'GR' => 'Graubünden',
  33. 'JU' => 'Jura',
  34. 'LU' => 'Luzern',
  35. 'NE' => 'Neuchâtel',
  36. 'NW' => 'Nidwalden',
  37. 'OW' => 'Obwalden',
  38. 'SG' => 'Sankt Gallen',
  39. 'SH' => 'Schaffhausen',
  40. 'SO' => 'Solothurn',
  41. 'SZ' => 'Schwyz',
  42. 'TG' => 'Thurgau',
  43. 'TI' => 'Ticino',
  44. 'UR' => 'Uri',
  45. 'VD' => 'Vaud',
  46. 'VS' => 'Valais',
  47. 'ZG' => 'Zug',
  48. 'ZH' => 'Zürich',
  49. ];
  50. }
  51.