|
@@ 61-69 (lines=9) @@
|
| 58 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 59 |
|
$this->operator->getMeta() . ' ' . |
| 60 |
|
'(:field_' . $this->fieldName . $this->salt->getSalt() . ')'; |
| 61 |
|
} else if ($this->filtering->isFieldEqualsOperator()) { |
| 62 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 63 |
|
$this->operator->getMeta() . ' ' . |
| 64 |
|
$this->entityAlias . '.' . $value; |
| 65 |
|
} else { |
| 66 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 67 |
|
$this->operator->getMeta() . ' ' . |
| 68 |
|
':field_' . $this->fieldName . $this->salt->getSalt(); |
| 69 |
|
} |
| 70 |
|
} else { |
| 71 |
|
return $this->entityAlias . '.' . $this->fieldName . ' ' . |
| 72 |
|
$this->operator->getMeta() . ' ' . |
|
@@ 84-92 (lines=9) @@
|
| 81 |
|
|
| 82 |
|
public function getEmbeddedCondition() |
| 83 |
|
{ |
| 84 |
|
if ($this->filtering->isListOperator()) { |
| 85 |
|
return $this->relationEntityAlias . '.' . $this->fieldName . ' ' . |
| 86 |
|
$this->operator->getMeta() . ' ' . |
| 87 |
|
'(:field_' . $this->fieldName . $this->salt->getSalt() . ')'; |
| 88 |
|
} else { |
| 89 |
|
return $this->relationEntityAlias . '.' . $this->fieldName . ' ' . |
| 90 |
|
$this->operator->getMeta() . ' ' . |
| 91 |
|
':field_' . $this->fieldName . $this->salt->getSalt(); |
| 92 |
|
} |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
public function getFieldName() |