• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/model/product.php
  • Класс: BitrixCatalogModelProduct
  • Вызов: Product::updateElementModificationTime
static function updateElementModificationTime(int $elementId): void
{
	$conn = MainApplication::getConnection();
	if (self::$queryElementDate === null)
	{
		$helper = $conn->getSqlHelper();
		self::$queryElementDate = 'update ' . $helper->quote(IblockElementTable::getTableName())
			. ' set ' . $helper->quote('TIMESTAMP_X') . ' = ' . $helper->getCurrentDateTimeFunction()
			. ' where ' . $helper->quote('ID') . '=';
	}
	$conn->queryExecute(self::$queryElementDate . $elementId);
}