...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/Relation/Collection.php
- Класс: Bitrix\Crm\Relation\Collection
- Вызов: Collection::filterByParentEntityTypeId
public function filterByParentEntityTypeId(int $parentEntityTypeId): Collection { $filteredCollection = new static(); foreach ($this->relations as $relation) { if ($relation->getParentEntityTypeId() === $parentEntityTypeId) { $filteredCollection->add($relation); } } return $filteredCollection; }