• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/entitypropertyvaluecollection.php
  • Класс: BitrixSaleEntityPropertyValueCollection
  • Вызов: EntityPropertyValueCollection::getGroups
public function getGroups(bool $refreshData = false)
{
	$result = [];

	/** @var EntityPropertyValue $propertyValue */
	foreach ($this->collection as $propertyValue)
	{
		$property = $propertyValue->getPropertyObject();
		$group = $property->getGroupInfo($refreshData);
		if (!isset($result[$group['ID']]))
		{
			$result[$group['ID']] = $group;
		}
	}

	return $result;
}