• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/platform.php
  • Класс: BitrixSaleTradingPlatformPlatform
  • Вызов: Platform::isActiveItemsExist
static function isActiveItemsExist()
{
	$dbRes = TradingPlatformTable::getList([
		'filter' => [
			'ACTIVE' => 'Y',
		],
		'select' => ['ID'],
	]);
	
	return (bool)$dbRes->fetch();
}