<?php
|
|
/**
|
|
* The ZoneType class defined here contains
|
|
* code for the ZoneType enumerated type. It represents
|
|
* the enumerated values found in the "zone_type" table
|
|
* in the database.
|
|
*
|
|
* To use, you should use the ZoneType subclass which
|
|
* extends this ZoneTypeGen class.
|
|
*
|
|
* Because subsequent re-code generations will overwrite any changes to this
|
|
* file, you should leave this file unaltered to prevent yourself from losing
|
|
* any information or code changes. All customizations should be done by
|
|
* overriding existing or implementing new methods, properties and variables
|
|
* in the ZoneType class.
|
|
*
|
|
* @package Quinta CMS
|
|
* @subpackage GeneratedDataObjects
|
|
*/
|
|
abstract class ZoneTypeGen extends QBaseClass {
|
|
const Alabama = 1;
|
|
const Alaska = 2;
|
|
const AmericanSamoa = 3;
|
|
const Arizona = 4;
|
|
const Arkansas = 5;
|
|
const ArmedForcesAfrica = 6;
|
|
const ArmedForcesAmericas = 7;
|
|
const ArmedForcesCanada = 8;
|
|
const ArmedForcesEurope = 9;
|
|
const ArmedForcesMiddleEast = 10;
|
|
const ArmedForcesPacific = 11;
|
|
const California = 12;
|
|
const Colorado = 13;
|
|
const Connecticut = 14;
|
|
const Delaware = 15;
|
|
const DistrictofColumbia = 16;
|
|
const FederatedStatesOfMicronesia = 17;
|
|
const Florida = 18;
|
|
const Georgia = 19;
|
|
const Guam = 20;
|
|
const Hawaii = 21;
|
|
const Idaho = 22;
|
|
const Illinois = 23;
|
|
const Indiana = 24;
|
|
const Iowa = 25;
|
|
const Kansas = 26;
|
|
const Kentucky = 27;
|
|
const Louisiana = 28;
|
|
const Maine = 29;
|
|
const MarshallIslands = 30;
|
|
const Maryland = 31;
|
|
const Massachusetts = 32;
|
|
const Michigan = 33;
|
|
const Minnesota = 34;
|
|
const Mississippi = 35;
|
|
const Missouri = 36;
|
|
const Montana = 37;
|
|
const Nebraska = 38;
|
|
const Nevada = 39;
|
|
const NewHampshire = 40;
|
|
const NewJersey = 41;
|
|
const NewMexico = 42;
|
|
const NewYork = 43;
|
|
const NorthCarolina = 44;
|
|
const NorthDakota = 45;
|
|
const NorthernMarianaIslands = 46;
|
|
const Ohio = 47;
|
|
const Oklahoma = 48;
|
|
const Oregon = 49;
|
|
const Palau = 50;
|
|
const Pennsylvania = 51;
|
|
const PuertoRico = 52;
|
|
const RhodeIsland = 53;
|
|
const SouthCarolina = 54;
|
|
const SouthDakota = 55;
|
|
const Tennessee = 56;
|
|
const Texas = 57;
|
|
const Utah = 58;
|
|
const Vermont = 59;
|
|
const VirginIslands = 60;
|
|
const Virginia = 61;
|
|
const Washington = 62;
|
|
const WestVirginia = 63;
|
|
const Wisconsin = 64;
|
|
const Wyoming = 65;
|
|
const Alberta = 66;
|
|
const BritishColumbia = 67;
|
|
const Manitoba = 68;
|
|
const Newfoundland = 69;
|
|
const NewBrunswick = 70;
|
|
const NovaScotia = 71;
|
|
const NorthwestTerritories = 72;
|
|
const Nunavut = 73;
|
|
const Ontario = 74;
|
|
const PrinceEdwardIsland = 75;
|
|
const Quebec = 76;
|
|
const Saskatchewan = 77;
|
|
const YukonTerritory = 78;
|
|
const Niedersachsen = 79;
|
|
const BadenWrtemberg = 80;
|
|
const Bayern = 81;
|
|
const Berlin = 82;
|
|
const Brandenburg = 83;
|
|
const Bremen = 84;
|
|
const Hamburg = 85;
|
|
const Hessen = 86;
|
|
const MecklenburgVorpommern = 87;
|
|
const NordrheinWestfalen = 88;
|
|
const RheinlandPfalz = 89;
|
|
const Saarland = 90;
|
|
const Sachsen = 91;
|
|
const SachsenAnhalt = 92;
|
|
const SchleswigHolstein = 93;
|
|
const Thringen = 94;
|
|
const Wien = 95;
|
|
const Niedersterreich = 96;
|
|
const Obersterreich = 97;
|
|
const Salzburg = 98;
|
|
const Krnten = 99;
|
|
const Steiermark = 100;
|
|
const Tirol = 101;
|
|
const Burgenland = 102;
|
|
const Voralberg = 103;
|
|
const Aargau = 104;
|
|
const AppenzellInnerrhoden = 105;
|
|
const AppenzellAusserrhoden = 106;
|
|
const Bern = 107;
|
|
const BaselLandschaft = 108;
|
|
const BaselStadt = 109;
|
|
const Freiburg = 110;
|
|
const Genf = 111;
|
|
const Glarus = 112;
|
|
const Graubnden = 113;
|
|
const Jura = 114;
|
|
const Luzern = 115;
|
|
const Neuenburg = 116;
|
|
const Nidwalden = 117;
|
|
const Obwalden = 118;
|
|
const StGallen = 119;
|
|
const Schaffhausen = 120;
|
|
const Solothurn = 121;
|
|
const Schwyz = 122;
|
|
const Thurgau = 123;
|
|
const Tessin = 124;
|
|
const Uri = 125;
|
|
const Waadt = 126;
|
|
const Wallis = 127;
|
|
const Zug = 128;
|
|
const Zrich = 129;
|
|
const ACorua = 130;
|
|
const Alava = 131;
|
|
const Albacete = 132;
|
|
const Alicante = 133;
|
|
const Almeria = 134;
|
|
const Asturias = 135;
|
|
const Avila = 136;
|
|
const Badajoz = 137;
|
|
const Baleares = 138;
|
|
const Barcelona = 139;
|
|
const Burgos = 140;
|
|
const Caceres = 141;
|
|
const Cadiz = 142;
|
|
const Cantabria = 143;
|
|
const Castellon = 144;
|
|
const Ceuta = 145;
|
|
const CiudadReal = 146;
|
|
const Cordoba = 147;
|
|
const Cuenca = 148;
|
|
const Girona = 149;
|
|
const Granada = 150;
|
|
const Guadalajara = 151;
|
|
const Guipuzcoa = 152;
|
|
const Huelva = 153;
|
|
const Huesca = 154;
|
|
const Jaen = 155;
|
|
const LaRioja = 156;
|
|
const LasPalmas = 157;
|
|
const Leon = 158;
|
|
const Lleida = 159;
|
|
const Lugo = 160;
|
|
const Madrid = 161;
|
|
const Malaga = 162;
|
|
const Melilla = 163;
|
|
const Murcia = 164;
|
|
const Navarra = 165;
|
|
const Ourense = 166;
|
|
const Palencia = 167;
|
|
const Pontevedra = 168;
|
|
const Salamanca = 169;
|
|
const SantaCruzdeTenerife = 170;
|
|
const Segovia = 171;
|
|
const Sevilla = 172;
|
|
const Soria = 173;
|
|
const Tarragona = 174;
|
|
const Teruel = 175;
|
|
const Toledo = 176;
|
|
const Valencia = 177;
|
|
const Valladolid = 178;
|
|
const Vizcaya = 179;
|
|
const Zamora = 180;
|
|
const Zaragoza = 181;
|
|
const AustralianCapitalTerritory = 182;
|
|
const NewSouthWales = 183;
|
|
const NorthernTerritory = 184;
|
|
const Queensland = 185;
|
|
const SouthAustralia = 186;
|
|
const Tasmania = 187;
|
|
const Victoria = 188;
|
|
const WesternAustralia = 189;
|
|
const NoZone = 255;
|
|
|
|
const MaxId = 255;
|
|
|
|
public static $NameArray = array(
|
|
1 => 'Alabama',
|
|
2 => 'Alaska',
|
|
3 => 'American Samoa',
|
|
4 => 'Arizona',
|
|
5 => 'Arkansas',
|
|
6 => 'Armed Forces Africa',
|
|
7 => 'Armed Forces Americas',
|
|
8 => 'Armed Forces Canada',
|
|
9 => 'Armed Forces Europe',
|
|
10 => 'Armed Forces Middle East',
|
|
11 => 'Armed Forces Pacific',
|
|
12 => 'California',
|
|
13 => 'Colorado',
|
|
14 => 'Connecticut',
|
|
15 => 'Delaware',
|
|
16 => 'District of Columbia',
|
|
17 => 'Federated States Of Micronesia',
|
|
18 => 'Florida',
|
|
19 => 'Georgia',
|
|
20 => 'Guam',
|
|
21 => 'Hawaii',
|
|
22 => 'Idaho',
|
|
23 => 'Illinois',
|
|
24 => 'Indiana',
|
|
25 => 'Iowa',
|
|
26 => 'Kansas',
|
|
27 => 'Kentucky',
|
|
28 => 'Louisiana',
|
|
29 => 'Maine',
|
|
30 => 'Marshall Islands',
|
|
31 => 'Maryland',
|
|
32 => 'Massachusetts',
|
|
33 => 'Michigan',
|
|
34 => 'Minnesota',
|
|
35 => 'Mississippi',
|
|
36 => 'Missouri',
|
|
37 => 'Montana',
|
|
38 => 'Nebraska',
|
|
39 => 'Nevada',
|
|
40 => 'New Hampshire',
|
|
41 => 'New Jersey',
|
|
42 => 'New Mexico',
|
|
43 => 'New York',
|
|
44 => 'North Carolina',
|
|
45 => 'North Dakota',
|
|
46 => 'Northern Mariana Islands',
|
|
47 => 'Ohio',
|
|
48 => 'Oklahoma',
|
|
49 => 'Oregon',
|
|
50 => 'Palau',
|
|
51 => 'Pennsylvania',
|
|
52 => 'Puerto Rico',
|
|
53 => 'Rhode Island',
|
|
54 => 'South Carolina',
|
|
55 => 'South Dakota',
|
|
56 => 'Tennessee',
|
|
57 => 'Texas',
|
|
58 => 'Utah',
|
|
59 => 'Vermont',
|
|
60 => 'Virgin Islands',
|
|
61 => 'Virginia',
|
|
62 => 'Washington',
|
|
63 => 'West Virginia',
|
|
64 => 'Wisconsin',
|
|
65 => 'Wyoming',
|
|
66 => 'Alberta',
|
|
67 => 'British Columbia',
|
|
68 => 'Manitoba',
|
|
69 => 'Newfoundland',
|
|
70 => 'New Brunswick',
|
|
71 => 'Nova Scotia',
|
|
72 => 'Northwest Territories',
|
|
73 => 'Nunavut',
|
|
74 => 'Ontario',
|
|
75 => 'Prince Edward Island',
|
|
76 => 'Quebec',
|
|
77 => 'Saskatchewan',
|
|
78 => 'Yukon Territory',
|
|
79 => 'Niedersachsen',
|
|
80 => 'Baden Würtemberg',
|
|
81 => 'Bayern',
|
|
82 => 'Berlin',
|
|
83 => 'Brandenburg',
|
|
84 => 'Bremen',
|
|
85 => 'Hamburg',
|
|
86 => 'Hessen',
|
|
87 => 'Mecklenburg-Vorpommern',
|
|
88 => 'Nordrhein-Westfalen',
|
|
89 => 'Rheinland-Pfalz',
|
|
90 => 'Saarland',
|
|
91 => 'Sachsen',
|
|
92 => 'Sachsen-Anhalt',
|
|
93 => 'Schleswig-Holstein',
|
|
94 => 'Thringen',
|
|
95 => 'Wien',
|
|
96 => 'Niedersterreich',
|
|
97 => 'Obersterreich',
|
|
98 => 'Salzburg',
|
|
99 => 'Kärnten',
|
|
100 => 'Steiermark',
|
|
101 => 'Tirol',
|
|
102 => 'Burgenland',
|
|
103 => 'Voralberg',
|
|
104 => 'Aargau',
|
|
105 => 'Appenzell Innerrhoden',
|
|
106 => 'Appenzell Ausserrhoden',
|
|
107 => 'Bern',
|
|
108 => 'Basel-Landschaft',
|
|
109 => 'Basel-Stadt',
|
|
110 => 'Freiburg',
|
|
111 => 'Genf',
|
|
112 => 'Glarus',
|
|
113 => 'Graubnden',
|
|
114 => 'Jura',
|
|
115 => 'Luzern',
|
|
116 => 'Neuenburg',
|
|
117 => 'Nidwalden',
|
|
118 => 'Obwalden',
|
|
119 => 'St. Gallen',
|
|
120 => 'Schaffhausen',
|
|
121 => 'Solothurn',
|
|
122 => 'Schwyz',
|
|
123 => 'Thurgau',
|
|
124 => 'Tessin',
|
|
125 => 'Uri',
|
|
126 => 'Waadt',
|
|
127 => 'Wallis',
|
|
128 => 'Zug',
|
|
129 => 'Zrich',
|
|
130 => 'A Corua',
|
|
131 => 'Alava',
|
|
132 => 'Albacete',
|
|
133 => 'Alicante',
|
|
134 => 'Almeria',
|
|
135 => 'Asturias',
|
|
136 => 'Avila',
|
|
137 => 'Badajoz',
|
|
138 => 'Baleares',
|
|
139 => 'Barcelona',
|
|
140 => 'Burgos',
|
|
141 => 'Caceres',
|
|
142 => 'Cadiz',
|
|
143 => 'Cantabria',
|
|
144 => 'Castellon',
|
|
145 => 'Ceuta',
|
|
146 => 'Ciudad Real',
|
|
147 => 'Cordoba',
|
|
148 => 'Cuenca',
|
|
149 => 'Girona',
|
|
150 => 'Granada',
|
|
151 => 'Guadalajara',
|
|
152 => 'Guipuzcoa',
|
|
153 => 'Huelva',
|
|
154 => 'Huesca',
|
|
155 => 'Jaen',
|
|
156 => 'La Rioja',
|
|
157 => 'Las Palmas',
|
|
158 => 'Leon',
|
|
159 => 'Lleida',
|
|
160 => 'Lugo',
|
|
161 => 'Madrid',
|
|
162 => 'Malaga',
|
|
163 => 'Melilla',
|
|
164 => 'Murcia',
|
|
165 => 'Navarra',
|
|
166 => 'Ourense',
|
|
167 => 'Palencia',
|
|
168 => 'Pontevedra',
|
|
169 => 'Salamanca',
|
|
170 => 'Santa Cruz de Tenerife',
|
|
171 => 'Segovia',
|
|
172 => 'Sevilla',
|
|
173 => 'Soria',
|
|
174 => 'Tarragona',
|
|
175 => 'Teruel',
|
|
176 => 'Toledo',
|
|
177 => 'Valencia',
|
|
178 => 'Valladolid',
|
|
179 => 'Vizcaya',
|
|
180 => 'Zamora',
|
|
181 => 'Zaragoza',
|
|
182 => 'Australian Capital Territory',
|
|
183 => 'New South Wales',
|
|
184 => 'Northern Territory',
|
|
185 => 'Queensland',
|
|
186 => 'South Australia',
|
|
187 => 'Tasmania',
|
|
188 => 'Victoria',
|
|
189 => 'Western Australia',
|
|
255 => 'No Zone');
|
|
|
|
public static $TokenArray = array(
|
|
1 => 'Alabama',
|
|
2 => 'Alaska',
|
|
3 => 'AmericanSamoa',
|
|
4 => 'Arizona',
|
|
5 => 'Arkansas',
|
|
6 => 'ArmedForcesAfrica',
|
|
7 => 'ArmedForcesAmericas',
|
|
8 => 'ArmedForcesCanada',
|
|
9 => 'ArmedForcesEurope',
|
|
10 => 'ArmedForcesMiddleEast',
|
|
11 => 'ArmedForcesPacific',
|
|
12 => 'California',
|
|
13 => 'Colorado',
|
|
14 => 'Connecticut',
|
|
15 => 'Delaware',
|
|
16 => 'DistrictofColumbia',
|
|
17 => 'FederatedStatesOfMicronesia',
|
|
18 => 'Florida',
|
|
19 => 'Georgia',
|
|
20 => 'Guam',
|
|
21 => 'Hawaii',
|
|
22 => 'Idaho',
|
|
23 => 'Illinois',
|
|
24 => 'Indiana',
|
|
25 => 'Iowa',
|
|
26 => 'Kansas',
|
|
27 => 'Kentucky',
|
|
28 => 'Louisiana',
|
|
29 => 'Maine',
|
|
30 => 'MarshallIslands',
|
|
31 => 'Maryland',
|
|
32 => 'Massachusetts',
|
|
33 => 'Michigan',
|
|
34 => 'Minnesota',
|
|
35 => 'Mississippi',
|
|
36 => 'Missouri',
|
|
37 => 'Montana',
|
|
38 => 'Nebraska',
|
|
39 => 'Nevada',
|
|
40 => 'NewHampshire',
|
|
41 => 'NewJersey',
|
|
42 => 'NewMexico',
|
|
43 => 'NewYork',
|
|
44 => 'NorthCarolina',
|
|
45 => 'NorthDakota',
|
|
46 => 'NorthernMarianaIslands',
|
|
47 => 'Ohio',
|
|
48 => 'Oklahoma',
|
|
49 => 'Oregon',
|
|
50 => 'Palau',
|
|
51 => 'Pennsylvania',
|
|
52 => 'PuertoRico',
|
|
53 => 'RhodeIsland',
|
|
54 => 'SouthCarolina',
|
|
55 => 'SouthDakota',
|
|
56 => 'Tennessee',
|
|
57 => 'Texas',
|
|
58 => 'Utah',
|
|
59 => 'Vermont',
|
|
60 => 'VirginIslands',
|
|
61 => 'Virginia',
|
|
62 => 'Washington',
|
|
63 => 'WestVirginia',
|
|
64 => 'Wisconsin',
|
|
65 => 'Wyoming',
|
|
66 => 'Alberta',
|
|
67 => 'BritishColumbia',
|
|
68 => 'Manitoba',
|
|
69 => 'Newfoundland',
|
|
70 => 'NewBrunswick',
|
|
71 => 'NovaScotia',
|
|
72 => 'NorthwestTerritories',
|
|
73 => 'Nunavut',
|
|
74 => 'Ontario',
|
|
75 => 'PrinceEdwardIsland',
|
|
76 => 'Quebec',
|
|
77 => 'Saskatchewan',
|
|
78 => 'YukonTerritory',
|
|
79 => 'Niedersachsen',
|
|
80 => 'BadenWrtemberg',
|
|
81 => 'Bayern',
|
|
82 => 'Berlin',
|
|
83 => 'Brandenburg',
|
|
84 => 'Bremen',
|
|
85 => 'Hamburg',
|
|
86 => 'Hessen',
|
|
87 => 'MecklenburgVorpommern',
|
|
88 => 'NordrheinWestfalen',
|
|
89 => 'RheinlandPfalz',
|
|
90 => 'Saarland',
|
|
91 => 'Sachsen',
|
|
92 => 'SachsenAnhalt',
|
|
93 => 'SchleswigHolstein',
|
|
94 => 'Thringen',
|
|
95 => 'Wien',
|
|
96 => 'Niedersterreich',
|
|
97 => 'Obersterreich',
|
|
98 => 'Salzburg',
|
|
99 => 'Krnten',
|
|
100 => 'Steiermark',
|
|
101 => 'Tirol',
|
|
102 => 'Burgenland',
|
|
103 => 'Voralberg',
|
|
104 => 'Aargau',
|
|
105 => 'AppenzellInnerrhoden',
|
|
106 => 'AppenzellAusserrhoden',
|
|
107 => 'Bern',
|
|
108 => 'BaselLandschaft',
|
|
109 => 'BaselStadt',
|
|
110 => 'Freiburg',
|
|
111 => 'Genf',
|
|
112 => 'Glarus',
|
|
113 => 'Graubnden',
|
|
114 => 'Jura',
|
|
115 => 'Luzern',
|
|
116 => 'Neuenburg',
|
|
117 => 'Nidwalden',
|
|
118 => 'Obwalden',
|
|
119 => 'StGallen',
|
|
120 => 'Schaffhausen',
|
|
121 => 'Solothurn',
|
|
122 => 'Schwyz',
|
|
123 => 'Thurgau',
|
|
124 => 'Tessin',
|
|
125 => 'Uri',
|
|
126 => 'Waadt',
|
|
127 => 'Wallis',
|
|
128 => 'Zug',
|
|
129 => 'Zrich',
|
|
130 => 'ACorua',
|
|
131 => 'Alava',
|
|
132 => 'Albacete',
|
|
133 => 'Alicante',
|
|
134 => 'Almeria',
|
|
135 => 'Asturias',
|
|
136 => 'Avila',
|
|
137 => 'Badajoz',
|
|
138 => 'Baleares',
|
|
139 => 'Barcelona',
|
|
140 => 'Burgos',
|
|
141 => 'Caceres',
|
|
142 => 'Cadiz',
|
|
143 => 'Cantabria',
|
|
144 => 'Castellon',
|
|
145 => 'Ceuta',
|
|
146 => 'CiudadReal',
|
|
147 => 'Cordoba',
|
|
148 => 'Cuenca',
|
|
149 => 'Girona',
|
|
150 => 'Granada',
|
|
151 => 'Guadalajara',
|
|
152 => 'Guipuzcoa',
|
|
153 => 'Huelva',
|
|
154 => 'Huesca',
|
|
155 => 'Jaen',
|
|
156 => 'LaRioja',
|
|
157 => 'LasPalmas',
|
|
158 => 'Leon',
|
|
159 => 'Lleida',
|
|
160 => 'Lugo',
|
|
161 => 'Madrid',
|
|
162 => 'Malaga',
|
|
163 => 'Melilla',
|
|
164 => 'Murcia',
|
|
165 => 'Navarra',
|
|
166 => 'Ourense',
|
|
167 => 'Palencia',
|
|
168 => 'Pontevedra',
|
|
169 => 'Salamanca',
|
|
170 => 'SantaCruzdeTenerife',
|
|
171 => 'Segovia',
|
|
172 => 'Sevilla',
|
|
173 => 'Soria',
|
|
174 => 'Tarragona',
|
|
175 => 'Teruel',
|
|
176 => 'Toledo',
|
|
177 => 'Valencia',
|
|
178 => 'Valladolid',
|
|
179 => 'Vizcaya',
|
|
180 => 'Zamora',
|
|
181 => 'Zaragoza',
|
|
182 => 'AustralianCapitalTerritory',
|
|
183 => 'NewSouthWales',
|
|
184 => 'NorthernTerritory',
|
|
185 => 'Queensland',
|
|
186 => 'SouthAustralia',
|
|
187 => 'Tasmania',
|
|
188 => 'Victoria',
|
|
189 => 'WesternAustralia',
|
|
255 => 'NoZone');
|
|
|
|
public static $ExtraColumnNamesArray = array(
|
|
'CountryId',
|
|
'Code');
|
|
|
|
public static $ExtraColumnValuesArray = array(
|
|
1 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AL'),
|
|
2 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AK'),
|
|
3 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AS'),
|
|
4 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AZ'),
|
|
5 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AR'),
|
|
6 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AF'),
|
|
7 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AA'),
|
|
8 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AC'),
|
|
9 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AE'),
|
|
10 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AM'),
|
|
11 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'AP'),
|
|
12 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'CA'),
|
|
13 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'CO'),
|
|
14 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'CT'),
|
|
15 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'DE'),
|
|
16 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'DC'),
|
|
17 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'FM'),
|
|
18 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'FL'),
|
|
19 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'GA'),
|
|
20 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'GU'),
|
|
21 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'HI'),
|
|
22 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'ID'),
|
|
23 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'IL'),
|
|
24 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'IN'),
|
|
25 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'IA'),
|
|
26 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'KS'),
|
|
27 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'KY'),
|
|
28 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'LA'),
|
|
29 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'ME'),
|
|
30 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MH'),
|
|
31 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MD'),
|
|
32 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MA'),
|
|
33 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MI'),
|
|
34 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MN'),
|
|
35 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MS'),
|
|
36 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MO'),
|
|
37 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MT'),
|
|
38 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NE'),
|
|
39 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NV'),
|
|
40 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NH'),
|
|
41 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NJ'),
|
|
42 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NM'),
|
|
43 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NY'),
|
|
44 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'NC'),
|
|
45 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'ND'),
|
|
46 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'MP'),
|
|
47 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'OH'),
|
|
48 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'OK'),
|
|
49 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'OR'),
|
|
50 => array (
|
|
'CountryId' => '163',
|
|
'Code' => 'PW'),
|
|
51 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'PA'),
|
|
52 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'PR'),
|
|
53 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'RI'),
|
|
54 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'SC'),
|
|
55 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'SD'),
|
|
56 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'TN'),
|
|
57 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'TX'),
|
|
58 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'UT'),
|
|
59 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'VT'),
|
|
60 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'VI'),
|
|
61 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'VA'),
|
|
62 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'WA'),
|
|
63 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'WV'),
|
|
64 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'WI'),
|
|
65 => array (
|
|
'CountryId' => '223',
|
|
'Code' => 'WY'),
|
|
66 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'AB'),
|
|
67 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'BC'),
|
|
68 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'MB'),
|
|
69 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'NL'),
|
|
70 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'NB'),
|
|
71 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'NS'),
|
|
72 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'NT'),
|
|
73 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'NU'),
|
|
74 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'ON'),
|
|
75 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'PE'),
|
|
76 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'QC'),
|
|
77 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'SK'),
|
|
78 => array (
|
|
'CountryId' => '38',
|
|
'Code' => 'YT'),
|
|
79 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'NDS'),
|
|
80 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'BAW'),
|
|
81 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'BAY'),
|
|
82 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'BER'),
|
|
83 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'BRG'),
|
|
84 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'BRE'),
|
|
85 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'HAM'),
|
|
86 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'HES'),
|
|
87 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'MEC'),
|
|
88 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'NRW'),
|
|
89 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'RHE'),
|
|
90 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'SAR'),
|
|
91 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'SAS'),
|
|
92 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'SAC'),
|
|
93 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'SCN'),
|
|
94 => array (
|
|
'CountryId' => '81',
|
|
'Code' => 'THE'),
|
|
95 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'WI'),
|
|
96 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'NO'),
|
|
97 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'OO'),
|
|
98 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'SB'),
|
|
99 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'KN'),
|
|
100 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'ST'),
|
|
101 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'TI'),
|
|
102 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'BL'),
|
|
103 => array (
|
|
'CountryId' => '14',
|
|
'Code' => 'VB'),
|
|
104 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'AG'),
|
|
105 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'AI'),
|
|
106 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'AR'),
|
|
107 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'BE'),
|
|
108 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'BL'),
|
|
109 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'BS'),
|
|
110 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'FR'),
|
|
111 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'GE'),
|
|
112 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'GL'),
|
|
113 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'JU'),
|
|
114 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'JU'),
|
|
115 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'LU'),
|
|
116 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'NE'),
|
|
117 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'NW'),
|
|
118 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'OW'),
|
|
119 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'SG'),
|
|
120 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'SH'),
|
|
121 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'SO'),
|
|
122 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'SZ'),
|
|
123 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'TG'),
|
|
124 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'TI'),
|
|
125 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'UR'),
|
|
126 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'VD'),
|
|
127 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'VS'),
|
|
128 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'ZG'),
|
|
129 => array (
|
|
'CountryId' => '204',
|
|
'Code' => 'ZH'),
|
|
130 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'A Corua'),
|
|
131 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Alava'),
|
|
132 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Albacete'),
|
|
133 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Alicante'),
|
|
134 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Almeria'),
|
|
135 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Asturias'),
|
|
136 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Avila'),
|
|
137 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Badajoz'),
|
|
138 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Baleares'),
|
|
139 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Barcelona'),
|
|
140 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Burgos'),
|
|
141 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Caceres'),
|
|
142 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Cadiz'),
|
|
143 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Cantabria'),
|
|
144 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Castellon'),
|
|
145 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Ceuta'),
|
|
146 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Ciudad Real'),
|
|
147 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Cordoba'),
|
|
148 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Cuenca'),
|
|
149 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Girona'),
|
|
150 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Granada'),
|
|
151 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Guadalajara'),
|
|
152 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Guipuzcoa'),
|
|
153 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Huelva'),
|
|
154 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Huesca'),
|
|
155 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Jaen'),
|
|
156 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'La Rioja'),
|
|
157 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Las Palmas'),
|
|
158 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Leon'),
|
|
159 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Lleida'),
|
|
160 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Lugo'),
|
|
161 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Madrid'),
|
|
162 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Malaga'),
|
|
163 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Melilla'),
|
|
164 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Murcia'),
|
|
165 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Navarra'),
|
|
166 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Ourense'),
|
|
167 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Palencia'),
|
|
168 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Pontevedra'),
|
|
169 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Salamanca'),
|
|
170 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Santa Cruz de Tenerife'),
|
|
171 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Segovia'),
|
|
172 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Sevilla'),
|
|
173 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Soria'),
|
|
174 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Tarragona'),
|
|
175 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Teruel'),
|
|
176 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Toledo'),
|
|
177 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Valencia'),
|
|
178 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Valladolid'),
|
|
179 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Vizcaya'),
|
|
180 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Zamora'),
|
|
181 => array (
|
|
'CountryId' => '195',
|
|
'Code' => 'Zaragoza'),
|
|
182 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'ACT'),
|
|
183 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'NSW'),
|
|
184 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'NT'),
|
|
185 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'QLD'),
|
|
186 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'SA'),
|
|
187 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'TAS'),
|
|
188 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'VIC'),
|
|
189 => array (
|
|
'CountryId' => '13',
|
|
'Code' => 'WA'),
|
|
255 => array (
|
|
'CountryId' => '255',
|
|
'Code' => '--'));
|
|
|
|
|
|
public static function ToString($intZoneTypeId) {
|
|
switch ($intZoneTypeId) {
|
|
case 1: return 'Alabama';
|
|
case 2: return 'Alaska';
|
|
case 3: return 'American Samoa';
|
|
case 4: return 'Arizona';
|
|
case 5: return 'Arkansas';
|
|
case 6: return 'Armed Forces Africa';
|
|
case 7: return 'Armed Forces Americas';
|
|
case 8: return 'Armed Forces Canada';
|
|
case 9: return 'Armed Forces Europe';
|
|
case 10: return 'Armed Forces Middle East';
|
|
case 11: return 'Armed Forces Pacific';
|
|
case 12: return 'California';
|
|
case 13: return 'Colorado';
|
|
case 14: return 'Connecticut';
|
|
case 15: return 'Delaware';
|
|
case 16: return 'District of Columbia';
|
|
case 17: return 'Federated States Of Micronesia';
|
|
case 18: return 'Florida';
|
|
case 19: return 'Georgia';
|
|
case 20: return 'Guam';
|
|
case 21: return 'Hawaii';
|
|
case 22: return 'Idaho';
|
|
case 23: return 'Illinois';
|
|
case 24: return 'Indiana';
|
|
case 25: return 'Iowa';
|
|
case 26: return 'Kansas';
|
|
case 27: return 'Kentucky';
|
|
case 28: return 'Louisiana';
|
|
case 29: return 'Maine';
|
|
case 30: return 'Marshall Islands';
|
|
case 31: return 'Maryland';
|
|
case 32: return 'Massachusetts';
|
|
case 33: return 'Michigan';
|
|
case 34: return 'Minnesota';
|
|
case 35: return 'Mississippi';
|
|
case 36: return 'Missouri';
|
|
case 37: return 'Montana';
|
|
case 38: return 'Nebraska';
|
|
case 39: return 'Nevada';
|
|
case 40: return 'New Hampshire';
|
|
case 41: return 'New Jersey';
|
|
case 42: return 'New Mexico';
|
|
case 43: return 'New York';
|
|
case 44: return 'North Carolina';
|
|
case 45: return 'North Dakota';
|
|
case 46: return 'Northern Mariana Islands';
|
|
case 47: return 'Ohio';
|
|
case 48: return 'Oklahoma';
|
|
case 49: return 'Oregon';
|
|
case 50: return 'Palau';
|
|
case 51: return 'Pennsylvania';
|
|
case 52: return 'Puerto Rico';
|
|
case 53: return 'Rhode Island';
|
|
case 54: return 'South Carolina';
|
|
case 55: return 'South Dakota';
|
|
case 56: return 'Tennessee';
|
|
case 57: return 'Texas';
|
|
case 58: return 'Utah';
|
|
case 59: return 'Vermont';
|
|
case 60: return 'Virgin Islands';
|
|
case 61: return 'Virginia';
|
|
case 62: return 'Washington';
|
|
case 63: return 'West Virginia';
|
|
case 64: return 'Wisconsin';
|
|
case 65: return 'Wyoming';
|
|
case 66: return 'Alberta';
|
|
case 67: return 'British Columbia';
|
|
case 68: return 'Manitoba';
|
|
case 69: return 'Newfoundland';
|
|
case 70: return 'New Brunswick';
|
|
case 71: return 'Nova Scotia';
|
|
case 72: return 'Northwest Territories';
|
|
case 73: return 'Nunavut';
|
|
case 74: return 'Ontario';
|
|
case 75: return 'Prince Edward Island';
|
|
case 76: return 'Quebec';
|
|
case 77: return 'Saskatchewan';
|
|
case 78: return 'Yukon Territory';
|
|
case 79: return 'Niedersachsen';
|
|
case 80: return 'Baden Würtemberg';
|
|
case 81: return 'Bayern';
|
|
case 82: return 'Berlin';
|
|
case 83: return 'Brandenburg';
|
|
case 84: return 'Bremen';
|
|
case 85: return 'Hamburg';
|
|
case 86: return 'Hessen';
|
|
case 87: return 'Mecklenburg-Vorpommern';
|
|
case 88: return 'Nordrhein-Westfalen';
|
|
case 89: return 'Rheinland-Pfalz';
|
|
case 90: return 'Saarland';
|
|
case 91: return 'Sachsen';
|
|
case 92: return 'Sachsen-Anhalt';
|
|
case 93: return 'Schleswig-Holstein';
|
|
case 94: return 'Thringen';
|
|
case 95: return 'Wien';
|
|
case 96: return 'Niedersterreich';
|
|
case 97: return 'Obersterreich';
|
|
case 98: return 'Salzburg';
|
|
case 99: return 'Kärnten';
|
|
case 100: return 'Steiermark';
|
|
case 101: return 'Tirol';
|
|
case 102: return 'Burgenland';
|
|
case 103: return 'Voralberg';
|
|
case 104: return 'Aargau';
|
|
case 105: return 'Appenzell Innerrhoden';
|
|
case 106: return 'Appenzell Ausserrhoden';
|
|
case 107: return 'Bern';
|
|
case 108: return 'Basel-Landschaft';
|
|
case 109: return 'Basel-Stadt';
|
|
case 110: return 'Freiburg';
|
|
case 111: return 'Genf';
|
|
case 112: return 'Glarus';
|
|
case 113: return 'Graubnden';
|
|
case 114: return 'Jura';
|
|
case 115: return 'Luzern';
|
|
case 116: return 'Neuenburg';
|
|
case 117: return 'Nidwalden';
|
|
case 118: return 'Obwalden';
|
|
case 119: return 'St. Gallen';
|
|
case 120: return 'Schaffhausen';
|
|
case 121: return 'Solothurn';
|
|
case 122: return 'Schwyz';
|
|
case 123: return 'Thurgau';
|
|
case 124: return 'Tessin';
|
|
case 125: return 'Uri';
|
|
case 126: return 'Waadt';
|
|
case 127: return 'Wallis';
|
|
case 128: return 'Zug';
|
|
case 129: return 'Zrich';
|
|
case 130: return 'A Corua';
|
|
case 131: return 'Alava';
|
|
case 132: return 'Albacete';
|
|
case 133: return 'Alicante';
|
|
case 134: return 'Almeria';
|
|
case 135: return 'Asturias';
|
|
case 136: return 'Avila';
|
|
case 137: return 'Badajoz';
|
|
case 138: return 'Baleares';
|
|
case 139: return 'Barcelona';
|
|
case 140: return 'Burgos';
|
|
case 141: return 'Caceres';
|
|
case 142: return 'Cadiz';
|
|
case 143: return 'Cantabria';
|
|
case 144: return 'Castellon';
|
|
case 145: return 'Ceuta';
|
|
case 146: return 'Ciudad Real';
|
|
case 147: return 'Cordoba';
|
|
case 148: return 'Cuenca';
|
|
case 149: return 'Girona';
|
|
case 150: return 'Granada';
|
|
case 151: return 'Guadalajara';
|
|
case 152: return 'Guipuzcoa';
|
|
case 153: return 'Huelva';
|
|
case 154: return 'Huesca';
|
|
case 155: return 'Jaen';
|
|
case 156: return 'La Rioja';
|
|
case 157: return 'Las Palmas';
|
|
case 158: return 'Leon';
|
|
case 159: return 'Lleida';
|
|
case 160: return 'Lugo';
|
|
case 161: return 'Madrid';
|
|
case 162: return 'Malaga';
|
|
case 163: return 'Melilla';
|
|
case 164: return 'Murcia';
|
|
case 165: return 'Navarra';
|
|
case 166: return 'Ourense';
|
|
case 167: return 'Palencia';
|
|
case 168: return 'Pontevedra';
|
|
case 169: return 'Salamanca';
|
|
case 170: return 'Santa Cruz de Tenerife';
|
|
case 171: return 'Segovia';
|
|
case 172: return 'Sevilla';
|
|
case 173: return 'Soria';
|
|
case 174: return 'Tarragona';
|
|
case 175: return 'Teruel';
|
|
case 176: return 'Toledo';
|
|
case 177: return 'Valencia';
|
|
case 178: return 'Valladolid';
|
|
case 179: return 'Vizcaya';
|
|
case 180: return 'Zamora';
|
|
case 181: return 'Zaragoza';
|
|
case 182: return 'Australian Capital Territory';
|
|
case 183: return 'New South Wales';
|
|
case 184: return 'Northern Territory';
|
|
case 185: return 'Queensland';
|
|
case 186: return 'South Australia';
|
|
case 187: return 'Tasmania';
|
|
case 188: return 'Victoria';
|
|
case 189: return 'Western Australia';
|
|
case 255: return 'No Zone';
|
|
default:
|
|
throw new QCallerException(sprintf('Invalid intZoneTypeId: %s', $intZoneTypeId));
|
|
}
|
|
}
|
|
|
|
public static function ToToken($intZoneTypeId) {
|
|
switch ($intZoneTypeId) {
|
|
case 1: return 'Alabama';
|
|
case 2: return 'Alaska';
|
|
case 3: return 'AmericanSamoa';
|
|
case 4: return 'Arizona';
|
|
case 5: return 'Arkansas';
|
|
case 6: return 'ArmedForcesAfrica';
|
|
case 7: return 'ArmedForcesAmericas';
|
|
case 8: return 'ArmedForcesCanada';
|
|
case 9: return 'ArmedForcesEurope';
|
|
case 10: return 'ArmedForcesMiddleEast';
|
|
case 11: return 'ArmedForcesPacific';
|
|
case 12: return 'California';
|
|
case 13: return 'Colorado';
|
|
case 14: return 'Connecticut';
|
|
case 15: return 'Delaware';
|
|
case 16: return 'DistrictofColumbia';
|
|
case 17: return 'FederatedStatesOfMicronesia';
|
|
case 18: return 'Florida';
|
|
case 19: return 'Georgia';
|
|
case 20: return 'Guam';
|
|
case 21: return 'Hawaii';
|
|
case 22: return 'Idaho';
|
|
case 23: return 'Illinois';
|
|
case 24: return 'Indiana';
|
|
case 25: return 'Iowa';
|
|
case 26: return 'Kansas';
|
|
case 27: return 'Kentucky';
|
|
case 28: return 'Louisiana';
|
|
case 29: return 'Maine';
|
|
case 30: return 'MarshallIslands';
|
|
case 31: return 'Maryland';
|
|
case 32: return 'Massachusetts';
|
|
case 33: return 'Michigan';
|
|
case 34: return 'Minnesota';
|
|
case 35: return 'Mississippi';
|
|
case 36: return 'Missouri';
|
|
case 37: return 'Montana';
|
|
case 38: return 'Nebraska';
|
|
case 39: return 'Nevada';
|
|
case 40: return 'NewHampshire';
|
|
case 41: return 'NewJersey';
|
|
case 42: return 'NewMexico';
|
|
case 43: return 'NewYork';
|
|
case 44: return 'NorthCarolina';
|
|
case 45: return 'NorthDakota';
|
|
case 46: return 'NorthernMarianaIslands';
|
|
case 47: return 'Ohio';
|
|
case 48: return 'Oklahoma';
|
|
case 49: return 'Oregon';
|
|
case 50: return 'Palau';
|
|
case 51: return 'Pennsylvania';
|
|
case 52: return 'PuertoRico';
|
|
case 53: return 'RhodeIsland';
|
|
case 54: return 'SouthCarolina';
|
|
case 55: return 'SouthDakota';
|
|
case 56: return 'Tennessee';
|
|
case 57: return 'Texas';
|
|
case 58: return 'Utah';
|
|
case 59: return 'Vermont';
|
|
case 60: return 'VirginIslands';
|
|
case 61: return 'Virginia';
|
|
case 62: return 'Washington';
|
|
case 63: return 'WestVirginia';
|
|
case 64: return 'Wisconsin';
|
|
case 65: return 'Wyoming';
|
|
case 66: return 'Alberta';
|
|
case 67: return 'BritishColumbia';
|
|
case 68: return 'Manitoba';
|
|
case 69: return 'Newfoundland';
|
|
case 70: return 'NewBrunswick';
|
|
case 71: return 'NovaScotia';
|
|
case 72: return 'NorthwestTerritories';
|
|
case 73: return 'Nunavut';
|
|
case 74: return 'Ontario';
|
|
case 75: return 'PrinceEdwardIsland';
|
|
case 76: return 'Quebec';
|
|
case 77: return 'Saskatchewan';
|
|
case 78: return 'YukonTerritory';
|
|
case 79: return 'Niedersachsen';
|
|
case 80: return 'BadenWrtemberg';
|
|
case 81: return 'Bayern';
|
|
case 82: return 'Berlin';
|
|
case 83: return 'Brandenburg';
|
|
case 84: return 'Bremen';
|
|
case 85: return 'Hamburg';
|
|
case 86: return 'Hessen';
|
|
case 87: return 'MecklenburgVorpommern';
|
|
case 88: return 'NordrheinWestfalen';
|
|
case 89: return 'RheinlandPfalz';
|
|
case 90: return 'Saarland';
|
|
case 91: return 'Sachsen';
|
|
case 92: return 'SachsenAnhalt';
|
|
case 93: return 'SchleswigHolstein';
|
|
case 94: return 'Thringen';
|
|
case 95: return 'Wien';
|
|
case 96: return 'Niedersterreich';
|
|
case 97: return 'Obersterreich';
|
|
case 98: return 'Salzburg';
|
|
case 99: return 'Krnten';
|
|
case 100: return 'Steiermark';
|
|
case 101: return 'Tirol';
|
|
case 102: return 'Burgenland';
|
|
case 103: return 'Voralberg';
|
|
case 104: return 'Aargau';
|
|
case 105: return 'AppenzellInnerrhoden';
|
|
case 106: return 'AppenzellAusserrhoden';
|
|
case 107: return 'Bern';
|
|
case 108: return 'BaselLandschaft';
|
|
case 109: return 'BaselStadt';
|
|
case 110: return 'Freiburg';
|
|
case 111: return 'Genf';
|
|
case 112: return 'Glarus';
|
|
case 113: return 'Graubnden';
|
|
case 114: return 'Jura';
|
|
case 115: return 'Luzern';
|
|
case 116: return 'Neuenburg';
|
|
case 117: return 'Nidwalden';
|
|
case 118: return 'Obwalden';
|
|
case 119: return 'StGallen';
|
|
case 120: return 'Schaffhausen';
|
|
case 121: return 'Solothurn';
|
|
case 122: return 'Schwyz';
|
|
case 123: return 'Thurgau';
|
|
case 124: return 'Tessin';
|
|
case 125: return 'Uri';
|
|
case 126: return 'Waadt';
|
|
case 127: return 'Wallis';
|
|
case 128: return 'Zug';
|
|
case 129: return 'Zrich';
|
|
case 130: return 'ACorua';
|
|
case 131: return 'Alava';
|
|
case 132: return 'Albacete';
|
|
case 133: return 'Alicante';
|
|
case 134: return 'Almeria';
|
|
case 135: return 'Asturias';
|
|
case 136: return 'Avila';
|
|
case 137: return 'Badajoz';
|
|
case 138: return 'Baleares';
|
|
case 139: return 'Barcelona';
|
|
case 140: return 'Burgos';
|
|
case 141: return 'Caceres';
|
|
case 142: return 'Cadiz';
|
|
case 143: return 'Cantabria';
|
|
case 144: return 'Castellon';
|
|
case 145: return 'Ceuta';
|
|
case 146: return 'CiudadReal';
|
|
case 147: return 'Cordoba';
|
|
case 148: return 'Cuenca';
|
|
case 149: return 'Girona';
|
|
case 150: return 'Granada';
|
|
case 151: return 'Guadalajara';
|
|
case 152: return 'Guipuzcoa';
|
|
case 153: return 'Huelva';
|
|
case 154: return 'Huesca';
|
|
case 155: return 'Jaen';
|
|
case 156: return 'LaRioja';
|
|
case 157: return 'LasPalmas';
|
|
case 158: return 'Leon';
|
|
case 159: return 'Lleida';
|
|
case 160: return 'Lugo';
|
|
case 161: return 'Madrid';
|
|
case 162: return 'Malaga';
|
|
case 163: return 'Melilla';
|
|
case 164: return 'Murcia';
|
|
case 165: return 'Navarra';
|
|
case 166: return 'Ourense';
|
|
case 167: return 'Palencia';
|
|
case 168: return 'Pontevedra';
|
|
case 169: return 'Salamanca';
|
|
case 170: return 'SantaCruzdeTenerife';
|
|
case 171: return 'Segovia';
|
|
case 172: return 'Sevilla';
|
|
case 173: return 'Soria';
|
|
case 174: return 'Tarragona';
|
|
case 175: return 'Teruel';
|
|
case 176: return 'Toledo';
|
|
case 177: return 'Valencia';
|
|
case 178: return 'Valladolid';
|
|
case 179: return 'Vizcaya';
|
|
case 180: return 'Zamora';
|
|
case 181: return 'Zaragoza';
|
|
case 182: return 'AustralianCapitalTerritory';
|
|
case 183: return 'NewSouthWales';
|
|
case 184: return 'NorthernTerritory';
|
|
case 185: return 'Queensland';
|
|
case 186: return 'SouthAustralia';
|
|
case 187: return 'Tasmania';
|
|
case 188: return 'Victoria';
|
|
case 189: return 'WesternAustralia';
|
|
case 255: return 'NoZone';
|
|
default:
|
|
throw new QCallerException(sprintf('Invalid intZoneTypeId: %s', $intZoneTypeId));
|
|
}
|
|
}
|
|
|
|
public static function ToCountryId($intZoneTypeId) {
|
|
if (array_key_exists($intZoneTypeId, ZoneType::$ExtraColumnValuesArray))
|
|
return ZoneType::$ExtraColumnValuesArray[$intZoneTypeId]['CountryId'];
|
|
else
|
|
throw new QCallerException(sprintf('Invalid intZoneTypeId: %s', $intZoneTypeId));
|
|
}
|
|
|
|
public static function ToCode($intZoneTypeId) {
|
|
if (array_key_exists($intZoneTypeId, ZoneType::$ExtraColumnValuesArray))
|
|
return ZoneType::$ExtraColumnValuesArray[$intZoneTypeId]['Code'];
|
|
else
|
|
throw new QCallerException(sprintf('Invalid intZoneTypeId: %s', $intZoneTypeId));
|
|
}
|
|
|
|
}
|
|
?>
|