| @@ 129-134 (lines=6) @@ | ||
| 126 | { |
|
| 127 | $p = $this->getPlaceholder(); |
|
| 128 | ||
| 129 | foreach ($condition as $column => $value) { |
|
| 130 | $c = $this->checkAliases($column); |
|
| 131 | ||
| 132 | $this->data_source->andWhere("$c = ?$p") |
|
| 133 | ->setParameter($p, $value); |
|
| 134 | } |
|
| 135 | ||
| 136 | return $this; |
|
| 137 | } |
|
| @@ 279-284 (lines=6) @@ | ||
| 276 | { |
|
| 277 | $p = $this->getPlaceholder(); |
|
| 278 | ||
| 279 | foreach ($filter->getCondition() as $column => $value) { |
|
| 280 | $c = $this->checkAliases($column); |
|
| 281 | ||
| 282 | $this->data_source->andWhere("$c = ?$p") |
|
| 283 | ->setParameter($p, $value); |
|
| 284 | } |
|
| 285 | } |
|
| 286 | ||
| 287 | ||