• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/documentgenerator/productloader.php
  • Класс: Bitrix\Crm\Integration\DocumentGenerator\ProductLoader
  • Вызов: ProductLoader::getIblockValue
public function getIblockValue(string $code, int $rowId)
{
	$elementId = $this->getElementIdByRowId($rowId);
	if (!$elementId)
	{
		return null;
	}

	$data = $this->prepareIblockData($elementId);

	if ($code === 'TITLE')
	{
		$code = 'NAME';
	}

	return $data[$code] ?? null;
}