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

