• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/property.php
  • Класс: BitrixSaleControllerProperty
  • Вызов: Property::getPropertyGroupOptions
protected function getPropertyGroupOptions()
{
	$groupOptions = [];
	$orderPropsGroup = new CSaleOrderPropsGroup();

	$result = $orderPropsGroup->GetList(['NAME' => 'ASC'], ['PERSON_TYPE_ID' => $this->personTypeId]);
	while ($row = $result->Fetch())
	{
		$groupOptions[$row['ID']] = $row['NAME'];
	}

	return $groupOptions;
}