Метод cleanLocationAddressLinks
Сигнатура метода
private static function cleanLocationAddressLinks(Address $locationAddress, int $typeId, int $entityTypeId, int $entityId): bool
Возвращает:
bool
Описание
The method removes links that are incorrect or refer to non-existent addresses, and links to the crm-address corresponding to the parameters. If unknown links are found that do not refer to the address, they will not be deleted
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$locationAddress
|
Address
|
—
|
—
|
$typeId
|
int
|
—
|
—
|
$entityTypeId
|
int
|
—
|
—
|
$entityId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/entityaddress.php
Расположение метода в файле
Строки
368–506