Documentation

whereToSql

string public
\Bitrix\Iblock\PropertyIndex\Facet::whereToSql(
 array $where,
 string $tableAlias,
 string $subsectionsCondition = ""
);

Converts structured array $where into condition for SQL query or into empty string. Non-static method.

Parameters

ParameterDescriptionVersion
$whereStructured condition array.
$tableAliasTable with aliases to be used in SQL query.
$subsectionsConditionWhen string is not empty, it will be added.15.0.7

Example



© «Bitrix24», 2001-2022
Up