Documentation

addIndexEntry

boolean public
\Bitrix\Iblock\PropertyIndex\Storage::addIndexEntry(
 integer $sectionId,
 integer $elementId,
 integer $facetId,
 integer $value,
 float $valueNum,
 boolean $includeSubsections
);

Method adds a new index entry. Non-static method.

Parameters

ParameterDescriptionVersion
$sectionIdElement section ID.
$elementIdElement ID.
$facetIdProperty/price ID.
$valueDictionary value or 0.
$valueNumNumerical property or price value.
$includeSubsectionsParameter is true, if section has parent, otherwise - false.

Example



© «Bitrix24», 2001-2024
Up