• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/propertyindex/storage.php
  • Класс: BitrixIblockPropertyIndexStorage
  • Вызов: Storage::queueIndexEntry
public function queueIndexEntry($sectionId, $elementId, $facetId, $value, $valueNum, $includeSubsections)
{
	$connection = BitrixMainApplication::getConnection();
	$sqlHelper = $connection->getSqlHelper();

	$values = "("
		.intval($sectionId).","
		.intval($elementId).","
		.intval($facetId).","
		.intval($value).","
		.doubleval($valueNum).","
		.($includeSubsections > 0? 1: 0)
	.")";
	$this->insertBuffer[] = $values;
	$this->insertLength += mb_strlen($values);
	if ($this->insertLength > $this->insertMax)
	{
		return $this->flushIndexEntries();
	}

	return true;
}