|
@@ 66-74 (lines=9) @@
|
| 63 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 64 |
|
$this->operator->getMeta() . ' ' . |
| 65 |
|
'(:field_' . $this->fieldName . $this->salt->getSalt() . ')'; |
| 66 |
|
} else if ($this->filtering->isFieldEqualsOperator()) { |
| 67 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 68 |
|
$this->operator->getMeta() . ' ' . |
| 69 |
|
$this->entityAlias . '.' . $this->value; |
| 70 |
|
} else { |
| 71 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 72 |
|
$this->operator->getMeta() . ' ' . |
| 73 |
|
':field_' . $this->fieldName . $this->salt->getSalt(); |
| 74 |
|
} |
| 75 |
|
} else { |
| 76 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 77 |
|
$this->operator->getMeta() . ' ' . |
|
@@ 89-97 (lines=9) @@
|
| 86 |
|
|
| 87 |
|
public function getEmbeddedCondition() |
| 88 |
|
{ |
| 89 |
|
if ($this->isListOperator()) { |
| 90 |
|
return $this->relationEntityAlias . '.' . $this->fieldName . ' ' . |
| 91 |
|
$this->operator->getMeta() . ' ' . |
| 92 |
|
'(:field_' . $this->fieldName . $this->salt->getSalt() . ')'; |
| 93 |
|
} else { |
| 94 |
|
return $this->relationEntityAlias . '.' . $this->fieldName . ' ' . |
| 95 |
|
$this->operator->getMeta() . ' ' . |
| 96 |
|
':field_' . $this->fieldName . $this->salt->getSalt(); |
| 97 |
|
} |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
public function getFieldName() |