• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/vk.php
  • Класс: BitrixSaleTradingPlatformVkVk
  • Вызов: Vk::checkExistingCatalogField
private function checkExistingCatalogField($iblockId, $code)
{
	$existingProps = CIBlockProperty::GetList(
		array(),
		array(
			'IBLOCK_ID' => $iblockId,
			'CODE' => $code,
		)
	);

	if ($existPropId = $existingProps->Fetch())
		return $existPropId['ID'];
	else
		return false;
}