1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
donetskcustomfields.php
См. документацию.
1<?php
2
3namespace Bitrix\Location\Infrastructure\Service\CustomFieldsService;
4
5use Bitrix\Main\IO\Path;
6use Bitrix\Main\Localization\Loc;
7
8Loc::loadMessages(__FILE__);
9Loc::loadMessages(Path::combine(__DIR__, 'customfields.php'));
10
12{
16 protected function getInfo(): array
17 {
18 if ($this->currentRegion === 'ru')
19 {
20 $country = Loc::getMessage('LOCATION_ISTRUCTURE_CUSTOM_FIELDS_RUSSIA');
21 $state = Loc::getMessage('LOCATION_ISTRUCTURE_CUSTOM_FIELDS_REGION_DONETSK_FOR_RUSSIA');
22 }
23 else
24 {
25 $country = Loc::getMessage('LOCATION_ISTRUCTURE_CUSTOM_FIELDS_UKRAINE');
26 $state = Loc::getMessage('LOCATION_ISTRUCTURE_CUSTOM_FIELDS_REGION_DONETSK_FOR_UKRAINE');
27 }
28
29 return [
30 'country' => $country,
31 'state' => $state,
32 ];
33 }
34}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$country
Определения payment.php:59