• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/entitypropertyvaluecollection.php
  • Класс: BitrixSaleEntityPropertyValueCollection
  • Вызов: EntityPropertyValueCollection::getItemByOrderPropertyId
public function getItemByOrderPropertyId($orderPropertyId)
{
	/** @var EntityPropertyValue $propertyValue */
	foreach ($this->collection as $propertyValue)
	{
		if ($propertyValue->getField('ORDER_PROPS_ID') == $orderPropertyId)
		{
			return $propertyValue;
		}
	}

	return null;
}