Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
brconverter.php
1
<?php
2
3
namespace
Bitrix\Location\Source\Osm\Converters
;
4
15
final
class
BrConverter
extends
BaseConverter
16
{
18
private
const
STATE_ADMIN_LEVEL = 4;
19
21
private
const
DISTRICT_ADMIN_LEVEL = 9;
22
24
private
const
SUB_DISTRICT_ADMIN_LEVEL = 10;
25
29
protected
function
getAdminLevel1
(): ?array
30
{
31
return
$this->
getBoundaryAdministrativeByLevel
(static::STATE_ADMIN_LEVEL);
32
}
33
37
protected
function
getSubLocality
(): ?array
38
{
39
return
$this->
getBoundaryAdministrativeByLevel
(static::DISTRICT_ADMIN_LEVEL);
40
}
41
45
protected
function
getSubLocalityLevel1
(): ?array
46
{
47
return
$this->
getBoundaryAdministrativeByLevel
(static::SUB_DISTRICT_ADMIN_LEVEL);
48
}
49
}
Bitrix\Location\Source\Osm\Converters\BaseConverter
Definition
baseconverter.php:27
Bitrix\Location\Source\Osm\Converters\BaseConverter\getBoundaryAdministrativeByLevel
getBoundaryAdministrativeByLevel(int $level)
Definition
baseconverter.php:605
Bitrix\Location\Source\Osm\Converters\BrConverter
Definition
brconverter.php:16
Bitrix\Location\Source\Osm\Converters\BrConverter\getSubLocality
getSubLocality()
Definition
brconverter.php:37
Bitrix\Location\Source\Osm\Converters\BrConverter\getAdminLevel1
getAdminLevel1()
Definition
brconverter.php:29
Bitrix\Location\Source\Osm\Converters\BrConverter\getSubLocalityLevel1
getSubLocalityLevel1()
Definition
brconverter.php:45
Bitrix\Location\Source\Osm\Converters
Definition
baseconverter.php:3
modules
location
lib
source
osm
converters
brconverter.php
Создано системой
1.10.0