Changeset 15986
- Timestamp:
- 2007/09/24 11:28:08 (16 years ago)
- Location:
- branches/dev/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_DbConn.php
r15985 r15986 50 50 } 51 51 } 52 $objDbConnMDB2->setFetchMode(MDB2_FETCHMODE_ASSOC);52 // $objDbConnMDB2->setFetchMode(MDB2_FETCHMODE_ASSOC); 53 53 54 54 $this->conn = $objDbConn; … … 129 129 if ( $arr ){ 130 130 //$result = $this->conn->getAll($n, $arr, DB_FETCHMODE_ASSOC); 131 $result = $this->conn_mdb2->extended->getAll($n, null, $arr );131 $result = $this->conn_mdb2->extended->getAll($n, null, $arr, null, DB_FETCHMODE_ASSOC, true); 132 132 } else { 133 133 //$result = $this->conn->getAll($n, DB_FETCHMODE_ASSOC); 134 $result = $this->conn_mdb2->extended->getAll($n, null );134 $result = $this->conn_mdb2->extended->getAll($n, null, array(), null, DB_FETCHMODE_ASSOC, true); 135 135 } 136 136 -
branches/dev/data/module/MDB2/Extended.php
r15985 r15986 501 501 502 502 $stmt = $db->prepare($query, $param_types, $types); 503 504 sfprintr($stmt);505 506 503 if (PEAR::isError($stmt)) { 507 504 return $stmt;
Note: See TracChangeset
for help on using the changeset viewer.