method public static

RequisiteAddress::getByOwner()

Класс: \Bitrix\Crm\RequisiteAddress

Сигнатура

public static getByOwner(mixed $typeID, mixed $ownerTypeID, mixed $ownerID) : mixed

Параметры

$typeID mixed
$ownerTypeID mixed
$ownerID mixed

Возвращаемое значение

mixed

Как применяется в RequisiteAddress

RequisiteAddress::getByOwner() — метод класса \Bitrix\Crm\RequisiteAddress модуля «CRM».

Статический метод — вызывается через имя класса RequisiteAddress, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Crm\RequisiteAddress;

Loader::includeModule('crm');

$typeID = null;
$ownerTypeID = null;
$ownerID = null;
$result = RequisiteAddress::getByOwner($typeID, $ownerTypeID, $ownerID);
// $result: mixed

Другие методы RequisiteAddress

getByOwner() есть и у других классов модуля «CRM»: CompanyAddress, ContactAddress, EntityAddress, LeadAddress.

Исходный файл: source/crm/lib/requisiteaddress.php:2140

Что будем искать? Например,Продвижение