16 public static function getAll(
string $languageId): array
20 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_RUS_NAME',
null, $languageId),
21 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_RUS_DESCR',
null, $languageId),
24 'templateCollection' => [
26 '["#S#",[ADDRESS_LINE_1:N,ADDRESS_LINE_2,LOCALITY,ADM_LEVEL_2,ADM_LEVEL_1,COUNTRY,POSTAL_CODE]]',
31 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
32 'fieldCollection' => [
35 'type' => FieldType::ADDRESS_LINE_2,
36 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
41 'type' => FieldType::ADDRESS_LINE_1,
42 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
47 'type' => FieldType::LOCALITY,
48 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
53 'type' => FieldType::ADM_LEVEL_2,
54 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADM_LEVEL_2',
null, $languageId),
59 'type' => FieldType::ADM_LEVEL_1,
60 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_REGION',
null, $languageId),
65 'type' => FieldType::COUNTRY,
66 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),
71 'type' => FieldType::POSTAL_CODE,
72 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
78 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_EU_NAME',
null, $languageId),
79 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_EU_DESCR',
null, $languageId),
82 'templateCollection' => [
84 '["#S#",[ADDRESS_LINE_1:N,ADDRESS_LINE_2,[" ",[POSTAL_CODE,LOCALITY,ADM_LEVEL_2,'
85 .
'ADM_LEVEL_1]],COUNTRY]]',
90 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
91 'fieldCollection' => [
94 'type' => FieldType::ADDRESS_LINE_2,
95 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
100 'type' => FieldType::ADDRESS_LINE_1,
101 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
106 'type' => FieldType::LOCALITY,
107 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
112 'type' => FieldType::ADM_LEVEL_2,
113 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADM_LEVEL_2',
null, $languageId),
118 'type' => FieldType::ADM_LEVEL_1,
119 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_REGION',
null, $languageId),
124 'type' => FieldType::COUNTRY,
125 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),
130 'type' => FieldType::POSTAL_CODE,
131 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
138 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_US_NAME',
null, $languageId),
139 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_US_DESCR',
null, $languageId),
142 'templateCollection' => [
144 '["#S#",[ADDRESS_LINE_1:N,ADDRESS_LINE_2,[" ",[LOCALITY,ADM_LEVEL_2,ADM_LEVEL_1,'
145 .
'POSTAL_CODE:U]],COUNTRY:U]]',
150 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
151 'fieldCollection' => [
154 'type' => FieldType::ADDRESS_LINE_2,
155 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
160 'type' => FieldType::ADDRESS_LINE_1,
161 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
166 'type' => FieldType::LOCALITY,
167 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
172 'type' => FieldType::ADM_LEVEL_2,
173 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADM_LEVEL_2',
null, $languageId),
178 'type' => FieldType::ADM_LEVEL_1,
179 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_REGION',
null, $languageId),
184 'type' => FieldType::COUNTRY,
185 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),
190 'type' => FieldType::POSTAL_CODE,
191 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
197 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_UK_NAME',
null, $languageId),
198 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_UK_DESCR',
null, $languageId),
201 'templateCollection' => [
203 '["#S#",[ADDRESS_LINE_1:N,ADDRESS_LINE_2,LOCALITY:U,ADM_LEVEL_2:U,ADM_LEVEL_1:U,'
204 .
'POSTAL_CODE:U,COUNTRY]]',
209 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
210 'fieldCollection' => [
213 'type' => FieldType::ADDRESS_LINE_2,
214 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
219 'type' => FieldType::ADDRESS_LINE_1,
220 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
225 'type' => FieldType::LOCALITY,
226 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
231 'type' => FieldType::COUNTRY,
232 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),
237 'type' => FieldType::POSTAL_CODE,
238 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
244 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_RUS_2_NAME',
null, $languageId),
245 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_RUS_2_DESCR',
null, $languageId),
248 'templateCollection' => [
250 '["#S#",[POSTAL_CODE,COUNTRY,ADM_LEVEL_1,ADM_LEVEL_2,LOCALITY,ADDRESS_LINE_1:N,'
251 .
'ADDRESS_LINE_2]]',
256 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
257 'fieldCollection' => [
260 'type' => FieldType::ADDRESS_LINE_2,
261 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
266 'type' => FieldType::ADDRESS_LINE_1,
267 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
272 'type' => FieldType::LOCALITY,
273 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
278 'type' => FieldType::ADM_LEVEL_2,
279 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADM_LEVEL_2',
null, $languageId),
284 'type' => FieldType::ADM_LEVEL_1,
285 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_REGION',
null, $languageId),
290 'type' => FieldType::COUNTRY,
291 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),
296 'type' => FieldType::POSTAL_CODE,
297 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
303 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_BR_NAME',
null, $languageId),
304 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_BR_DESCR',
null, $languageId),
307 'templateCollection' => [
309 '["#S#",[[", ",[ADDRESS_LINE_1:N,ADDRESS_LINE_2]],SUB_LOCALITY_LEVEL_1,[" ",[LOCALITY,'
310 .
'[" - ",[ADM_LEVEL_2,ADM_LEVEL_1]]]],POSTAL_CODE,COUNTRY]]',
315 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
316 'fieldCollection' => [
319 'type' => FieldType::ADDRESS_LINE_2,
320 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
325 'type' => FieldType::ADDRESS_LINE_1,
326 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
331 'type' => FieldType::LOCALITY,
332 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
337 'type' => FieldType::SUB_LOCALITY_LEVEL_1,
338 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_SUB_LOCALITY_LEVEL_1_NEIGHBORHOOD',
null, $languageId),
343 'type' => FieldType::ADM_LEVEL_2,
344 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADM_LEVEL_2_MUNICIPALITY',
null, $languageId),
349 'type' => FieldType::ADM_LEVEL_1,
350 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_STATE',
null, $languageId),
355 'type' => FieldType::POSTAL_CODE,
356 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
361 'type' => FieldType::COUNTRY,
362 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),
368 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_DE_NAME',
null, $languageId),
369 'description' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_EU_DESCR',
null, $languageId),
372 'templateCollection' => [
374 '["#S#",[ADDRESS_LINE_1:N,ADDRESS_LINE_2,[" ",[POSTAL_CODE,LOCALITY]],COUNTRY]]',
379 'fieldForUnRecognized' => FieldType::ADDRESS_LINE_2,
380 'fieldCollection' => [
383 'type' => FieldType::ADDRESS_LINE_1,
384 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_1',
null, $languageId),
389 'type' => FieldType::ADDRESS_LINE_2,
390 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_ADDR_2',
null, $languageId),
395 'type' => FieldType::POSTAL_CODE,
396 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_POSTAL_CODE',
null, $languageId),
401 'type' => FieldType::LOCALITY,
402 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_LOCALITY',
null, $languageId),
407 'type' => FieldType::COUNTRY,
408 'name' =>
Loc::getMessage(
'LOCATION_REPO_FRMT_COUNTRY',
null, $languageId),