projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9029378
)
DatabaseColumns.php
author
Alan Knowles
<alan@roojs.com>
Thu, 22 May 2014 07:40:45 +0000
(15:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 22 May 2014 07:40:45 +0000
(15:40 +0800)
DatabaseColumns.php
patch
|
blob
|
history
diff --git
a/DatabaseColumns.php
b/DatabaseColumns.php
index
9a2a161
..
e701908
100644
(file)
--- a/
DatabaseColumns.php
+++ b/
DatabaseColumns.php
@@
-25,11
+25,11
@@
class Pman_Core_DatabaseColumns extends Pman {
function get($table) {
$d = DB_DAtaObject::Factory($table);
$re = $d->autoJoin();
-
+ $ret = raray();
foreach($re['cols'] as $c=>$f {
$ret[] = array(
'name' => $c,
- 'val' =>$
v
+ 'val' =>$
f
);
}