QueryBuilder
Table of Contents
Methods
- __construct() : mixed
- getDistinct() : bool
- Returns true if filter needs distinct sql clause.
- getFilterSql() : string
- Returns filter join with index tables.
- isValid() : bool
- Returns true if filter rewrite is possible.
Methods
__construct()
public
__construct(int $iblockId) : mixed
Parameters
- $iblockId : int
-
Information block identifier.
getDistinct()
Returns true if filter needs distinct sql clause.
public
getDistinct() : bool
Return values
boolgetFilterSql()
Returns filter join with index tables.
public
getFilterSql(array<string|int, mixed> &$filter, array<string|int, mixed> &$sqlSearch) : string
Parameters
- $filter : array<string|int, mixed>
-
Filter which may be rewritten.
- $sqlSearch : array<string|int, mixed>
-
Additional result of rewrite.
Return values
stringisValid()
Returns true if filter rewrite is possible.
public
isValid() : bool