• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/productpropertybase.php
  • Класс: BitrixCatalogControllerProductPropertyBase
  • Вызов: ProductPropertyBase::getCatalogIds
protected function getCatalogIds(): array
{
	static $catalogIds = null;

	if (is_null($catalogIds))
	{
		$catalogIds = array_column(CatalogIblockTable::getList(['select' => ['IBLOCK_ID']])->fetchAll(), 'IBLOCK_ID');
		Collection::normalizeArrayValuesByInt($catalogIds);
	}

	return $catalogIds;
}