| @@ 151-156 (lines=6) @@ | ||
| 148 | { |
|
| 149 | $p = $this->getPlaceholder(); |
|
| 150 | ||
| 151 | foreach ($condition as $column => $value) { |
|
| 152 | $c = $this->checkAliases($column); |
|
| 153 | ||
| 154 | $this->data_source->andWhere("$c = :$p") |
|
| 155 | ->setParameter($p, $value); |
|
| 156 | } |
|
| 157 | ||
| 158 | return $this; |
|
| 159 | } |
|
| @@ 296-301 (lines=6) @@ | ||
| 293 | { |
|
| 294 | $p = $this->getPlaceholder(); |
|
| 295 | ||
| 296 | foreach ($filter->getCondition() as $column => $value) { |
|
| 297 | $c = $this->checkAliases($column); |
|
| 298 | ||
| 299 | $this->data_source->andWhere("$c = :$p") |
|
| 300 | ->setParameter($p, $value); |
|
| 301 | } |
|
| 302 | } |
|
| 303 | ||
| 304 | ||