projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b8c2b8c
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Mar 2011 05:42:26 +0000
(13:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Mar 2011 05:42:26 +0000
(13:42 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
e00d0af
..
d459e6d
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-865,6
+865,13
@@
class Pman_Roo extends Pman
// value is an array..
if (is_array($val) ) {
+ $pref = '';
+
+ if ($key[0] == '!') {
+ $pref = '!';
+ $key = substr($key,1);
+ }
+
if (!in_array( $key, array_keys($this->cols))) {
continue;
}
@@
-888,10
+895,10
@@
class Pman_Roo extends Pman
if (count($ar)) {
- $x->whereAddIn(
+ $x->whereAddIn(
$pref . (
isset($this->colsJname[$key]) ?
$this->colsJname[$key] :
- ($x->tableName(). '.'.$key),
+ ($x->tableName(). '.'.$key)
)
,
$ar, $quote ? 'string' : 'int');
}