| @@ 137-142 (lines=6) @@ | ||
| 134 | { |
|
| 135 | $p = $this->getPlaceholder(); |
|
| 136 | ||
| 137 | foreach ($condition as $column => $value) { |
|
| 138 | $c = $this->checkAliases($column); |
|
| 139 | ||
| 140 | $this->data_source->andWhere("$c = ?$p") |
|
| 141 | ->setParameter($p, $value); |
|
| 142 | } |
|
| 143 | ||
| 144 | return $this; |
|
| 145 | } |
|
| @@ 284-289 (lines=6) @@ | ||
| 281 | { |
|
| 282 | $p = $this->getPlaceholder(); |
|
| 283 | ||
| 284 | foreach ($filter->getCondition() as $column => $value) { |
|
| 285 | $c = $this->checkAliases($column); |
|
| 286 | ||
| 287 | $this->data_source->andWhere("$c = ?$p") |
|
| 288 | ->setParameter($p, $value); |
|
| 289 | } |
|
| 290 | } |
|
| 291 | ||
| 292 | ||