Collection::get

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Collection
  4. get
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Relation/Collection.php
  • Класс: Bitrix\Crm\Relation\Collection
  • Вызов: Collection::get
public function get(RelationIdentifier $identifier): ?Relation
{
	foreach ($this->relations as $index => $relation)
	{
		if ($relation->hasEqualIdentifier($identifier))
		{
			return $relation;
		}
	}

	return null;
}

Добавить комментарий