Documentation

query

\Bitrix\Main\DB\Result public
\Bitrix\Iblock\PropertyIndex\Facet::query(
 array $filter,
 array $facetTypes = array(),
 integer $facetId
);

Method returns connection with index tables for filtering. Non-static method.

Parameters

ParameterDescriptionVersion
$filterArray for entry filtering. Filtered fields are the same as in the method CIBlockElement::GetList.
$facetTypesArray of facet types to be used. Allows getting only "check marks", "prices" and etc.
$facetIdRestricts specific facet categories.

Example



© «Bitrix24», 2001-2024
Up