phpgwapi/inc/adodb/drivers/adodb-oci8.inc.php 1 location
|
@@ 1368-1379 (lines=12) @@
|
| 1365 |
|
|
| 1366 |
|
|
| 1367 |
|
/* Use associative array to get fields array */ |
| 1368 |
|
function Fields($colname) |
| 1369 |
|
{ |
| 1370 |
|
if (!$this->bind) { |
| 1371 |
|
$this->bind = array(); |
| 1372 |
|
for ($i=0; $i < $this->_numOfFields; $i++) { |
| 1373 |
|
$o = $this->FetchField($i); |
| 1374 |
|
$this->bind[strtoupper($o->name)] = $i; |
| 1375 |
|
} |
| 1376 |
|
} |
| 1377 |
|
|
| 1378 |
|
return $this->fields[$this->bind[strtoupper($colname)]]; |
| 1379 |
|
} |
| 1380 |
|
|
| 1381 |
|
|
| 1382 |
|
|
phpgwapi/inc/adodb/drivers/adodb-oracle.inc.php 1 location
|
@@ 263-274 (lines=12) @@
|
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
/* Use associative array to get fields array */ |
| 263 |
|
function Fields($colname) |
| 264 |
|
{ |
| 265 |
|
if (!$this->bind) { |
| 266 |
|
$this->bind = array(); |
| 267 |
|
for ($i=0; $i < $this->_numOfFields; $i++) { |
| 268 |
|
$o = $this->FetchField($i); |
| 269 |
|
$this->bind[strtoupper($o->name)] = $i; |
| 270 |
|
} |
| 271 |
|
} |
| 272 |
|
|
| 273 |
|
return $this->fields[$this->bind[strtoupper($colname)]]; |
| 274 |
|
} |
| 275 |
|
|
| 276 |
|
function _initrs() |
| 277 |
|
{ |