@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace ntentan\nibii; |
| 27 | 27 | |
| 28 | -use ntentan\utils\Utils; |
|
| 29 | 28 | use ntentan\kaikai\Cache; |
| 29 | +use ntentan\utils\Utils; |
|
| 30 | 30 | |
| 31 | 31 | class RecordWrapper implements \ArrayAccess, \Countable, \Iterator |
| 32 | 32 | { |
@@ -92,10 +92,10 @@ |
||
| 92 | 92 | if ($numValues === 1) { |
| 93 | 93 | $key = "filter_{$startIndex}"; |
| 94 | 94 | if($values[0] === null) { |
| 95 | - $this->whereClause .= "{$field} is NULL"; |
|
| 95 | + $this->whereClause .= "{$field} is NULL"; |
|
| 96 | 96 | } else { |
| 97 | - $this->whereClause .= "{$field} = :$key"; |
|
| 98 | - $this->boundData[$key] = reset($values); |
|
| 97 | + $this->whereClause .= "{$field} = :$key"; |
|
| 98 | + $this->boundData[$key] = reset($values); |
|
| 99 | 99 | } |
| 100 | 100 | } else { |
| 101 | 101 | $this->whereClause .= "{$field} IN ("; |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace ntentan\nibii; |
| 27 | 27 | |
| 28 | -use ntentan\utils\Utils; |
|
| 29 | 28 | use ntentan\kaikai\Cache; |
| 29 | +use ntentan\utils\Utils; |
|
| 30 | 30 | |
| 31 | 31 | class RecordWrapper implements \ArrayAccess, \Countable, \Iterator |
| 32 | 32 | { |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace ntentan\nibii; |
| 28 | 28 | |
| 29 | -use ntentan\utils\Text; |
|
| 30 | 29 | use ntentan\atiaa\Db; |
| 30 | +use ntentan\utils\Text; |
|
| 31 | 31 | |
| 32 | 32 | class QueryOperations |
| 33 | 33 | { |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace ntentan\nibii; |
| 28 | 28 | |
| 29 | -use ntentan\utils\Text; |
|
| 30 | 29 | use ntentan\atiaa\Db; |
| 30 | +use ntentan\utils\Text; |
|
| 31 | 31 | |
| 32 | 32 | class QueryOperations |
| 33 | 33 | { |