1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
zaporozhyecustomfields.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
ZaporozhyeCustomFields
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
}
22
else
23
{
24
$country
= Loc::getMessage(
'LOCATION_ISTRUCTURE_CUSTOM_FIELDS_UKRAINE'
);
25
}
26
27
return
[
28
'country'
=>
$country
,
29
];
30
}
31
}
Bitrix\Location\Infrastructure\Service\CustomFieldsService\CustomFields
Определения
customfields.php:12
Bitrix\Location\Infrastructure\Service\CustomFieldsService\ZaporozhyeCustomFields
Определения
zaporozhyecustomfields.php:12
Bitrix\Location\Infrastructure\Service\CustomFieldsService\ZaporozhyeCustomFields\getInfo
getInfo()
Определения
zaporozhyecustomfields.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
zaporozhyecustomfields.php
Создано системой
1.14.0