1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
brconverter.php
См. документацию.
1<?php
2
3namespace Bitrix\Location\Source\Osm\Converters;
4
15final 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}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804