Метод findByKey
Сигнатура метода
public function findByKey(int $typeId, int $entityTypeId, int $entityId): ?array
Возвращает:
?array
Описание
One row by the composite key of the record, without any permission restriction: the write path asks either for a row it has already located by other means, or - for an owner that keeps its addresses on itself - for the row of this very address type, which the key alone identifies. Either way it has to get the same answer for an agent, an import and a call made without a user.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$typeId
|
int
|
—
|
—
|
$entityTypeId
|
int
|
—
|
—
|
$entityId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Address/AddressRepository.php
Расположение метода в файле
Строки
110–120