1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
luganskcustomfields.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Location\Infrastructure\Service\CustomFieldsService;
4
5
use Bitrix\Main\IO\Path;
6
use Bitrix\Main\Localization\Loc;
7
8
Loc::loadMessages(__FILE__);
9
Loc::loadMessages(Path::combine(__DIR__,
'customfields.php'
));
10
11
class
LuganskCustomFields
extends
CustomFields
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_LUGANSK_FOR_RUSSIA'
);
22
}
23
else
24
{
25
$country
= Loc::getMessage(
'LOCATION_ISTRUCTURE_CUSTOM_FIELDS_UKRAINE'
);
26
$state = Loc::getMessage(
'LOCATION_ISTRUCTURE_CUSTOM_FIELDS_REGION_LUGANSK_FOR_UKRAINE'
);
27
}
28
29
return
[
30
'country'
=>
$country
,
31
'state'
=> $state,
32
];
33
}
34
}
Bitrix\Location\Infrastructure\Service\CustomFieldsService\CustomFields
Определения
customfields.php:12
Bitrix\Location\Infrastructure\Service\CustomFieldsService\LuganskCustomFields
Определения
luganskcustomfields.php:12
Bitrix\Location\Infrastructure\Service\CustomFieldsService\LuganskCustomFields\getInfo
getInfo()
Определения
luganskcustomfields.php:16
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$country
$country
Определения
payment.php:59
bitrix
modules
location
lib
infrastructure
service
customfieldsservice
luganskcustomfields.php
Создано системой
1.14.0