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