|
| static | compare ($startKey=0, $timeout=0, $updateExist=false) |
| static | getInternalId ($externalCode) |
| static | getExternalId ($locationId) |
| static | getCityId ($locationId) |
| static | install () |
| static | unInstall () |
| static | isInstalled () |
| static | refresh () |
| static | importFromCsv ($path) |
| static | exportToCsv ($path) |
| static | getExternalServiceId () |
| static | setExternalLocation2 ($srvId, $locationId, $xmlId, $updateExist=false) |
| static | setExternalLocation ($srvId, $locationId, $xmlId, $updateExist=false) |
| static | fillNormalizedTable ($startId=false, $timeout=0) |
| static | getLocationIdByNames ($name, $city, $subregion, $region, $country='', $exactOnly=false) |
См. определение в файле location.php строка 25
◆ compare()
| compare |
( |
| $startKey = 0, |
|
|
| $timeout = 0, |
|
|
| $updateExist = false ) |
|
static |
◆ extractDistrict()
| extractDistrict |
( |
& | $cityName | ) |
|
|
staticprotected |
SOKOLOVSKOE (GULKELIVICHSKIY R-N) => GULKELIVICHSKIY R-N
- Аргументы
-
- Возвращает
- string
См. определение в файле location.php строка 273
◆ getAllLocations()
◆ getParents()
| getParents |
( |
array | $cityNames | ) |
|
|
staticprotected |
Find regions by city names.
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentException
См. определение в файле location.php строка 234
◆ mapByNames()
| mapByNames |
( |
| $locations, |
|
|
| $srvId, |
|
|
| $startKey = 0, |
|
|
| $timeout = 0, |
|
|
| $updateExist = false ) |
|
staticprotected |
- Аргументы
-
| array | $locations | |
| int | $srvId | |
| int | $startKey | |
| int | $timeout | |
| bool | $updateExist | |
- Возвращает
- int Last processed id.
- Исключения
-
Bitrix\Main\ArgumentException
См. определение в файле location.php строка 72
◆ setMap()
Convert find location by city and region names and add mapping to base
- Аргументы
-
- Возвращает
- Result
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Exception
Переопределяет метод предка ExternalLocationMap.
См. определение в файле location.php строка 134
◆ CSV_FILE_PATH
| const CSV_FILE_PATH = '/bitrix/modules/sale/ru/delivery/pecom/location.csv' |
◆ EXTERNAL_SERVICE_CODE
| const EXTERNAL_SERVICE_CODE = 'PECOM' |
Объявления и описания членов класса находятся в файле: