FilteringQueryBuilder
FilteringQueryBuilder.php
:
29
Extends QueryBuilder
Repository Filtering query builder wrapper for \Doctrine\DBAL\Query\QueryBuilder.
NOTE: To be used only with Repository Content/Location Filtering feature.
Constants¶
SORT_ORDER_MAP ¶
FilteringQueryBuilder.php
:
31
|
|
Methods¶
addOrderBy()
¶
FilteringQueryBuilder.php
:
127
Inherited from \Doctrine\DBAL\Query\QueryBuilder::addOrderBy.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$sort | string | - | - |
$order | string|null | null | - |
Return values
buildOperatorBasedCriterionConstraint()
¶
FilteringQueryBuilder.php
:
171
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$columnName | string | - | - |
$criterionValue | array<string|int, mixed> | - | - |
$operator | string | - | - |
Return values
string
Tags
getExistingTableAliasJoinCondition()
¶
FilteringQueryBuilder.php
:
102
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$tableAlias | string | - | - |
Return values
string
conditions, null if table is not joined yet.
joinAllLocations()
¶
FilteringQueryBuilder.php
:
234
|
|
Return values
joinOnce()
¶
FilteringQueryBuilder.php
:
38
Create table JOIN, but only if it hasn't been already joined (determined based on $tableAlias).
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fromAlias | string | - | - |
$tableName | string | - | - |
$tableAlias | string | - | - |
$conditions | string | - | - |
Return values
Tags
joinPublishedVersion()
¶
FilteringQueryBuilder.php
:
210
|
|
Return values
leftJoinOnce()
¶
FilteringQueryBuilder.php
:
71
Create table LEFT JOIN, but only if it hasn't been already joined (determined based on $tableAlias).
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fromAlias | string | - | - |
$tableName | string | - | - |
$tableAlias | string | - | - |
$conditions | string | - | - |