method
public
static
EntityAddress::getListByOwner()
Класс: \Bitrix\Crm\EntityAddress
Сигнатура
public static getListByOwner(mixed $ownerTypeID, mixed $ownerID) : mixed
Параметры
$ownerTypeID
mixed
$ownerID
mixed
Возвращаемое значение
mixed
Как применяется в EntityAddress
EntityAddress::getListByOwner() — метод класса \Bitrix\Crm\EntityAddress модуля «CRM».
Статический метод — вызывается через имя класса EntityAddress, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\EntityAddress;
Loader::includeModule('crm');
$ownerTypeID = null;
$ownerID = null;
$result = EntityAddress::getListByOwner($ownerTypeID, $ownerID);
// $result: mixedДругие методы EntityAddress
areEquals()Проверяет, равны ли адресаcheckCreatePermissionOwnerEntity()checkDeletePermissionOwnerEntity()checkReadPermissionOwnerEntity()checkUpdatePermissionOwnerEntity()cloneLocationAddress()deleteByEntity()getByOwner()getClientTypeInfos()getCount()getCountries()getCountryByCode()
getListByOwner() есть и у других классов модуля «CRM»: CompanyAddress, ContactAddress, LeadAddress, RequisiteAddress.
Исходный файл: source/crm/lib/entityaddress.php:2153

