- Timestamp:
- 09/26/13 15:41:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-evolucao/phpgwapi/inc/adodb/drivers/adodb-oci8po.inc.php
r34 r8222 1 1 <?php 2 2 /* 3 V 4.94 23 Jan 2007 (c) 2000-2007John Lim. All rights reserved.3 V5.18 3 Sep 2012 (c) 2000-2012 John Lim. All rights reserved. 4 4 Released under both BSD license and Lesser GPL library license. 5 5 Whenever there is any discrepancy between the two licenses, … … 35 35 } 36 36 37 function Param($name )37 function Param($name,$type='C') 38 38 { 39 39 return '?'; … … 50 50 } 51 51 52 function Execute($sql,$inputarr=false) 53 { 54 return ADOConnection::Execute($sql,$inputarr); 55 } 56 52 57 // emulate handling of parameters ? ?, replacing with :bind0 :bind1 53 function _query($sql,$inputarr )58 function _query($sql,$inputarr=false) 54 59 { 55 60 if (is_array($inputarr)) { … … 99 104 100 105 // lowercase field names... 101 function &_FetchField($fieldOffset = -1)106 function _FetchField($fieldOffset = -1) 102 107 { 103 108 $fld = new ADOFieldObject; 104 109 $fieldOffset += 1; 105 $fld->name = strtolower(OCIcolumnname($this->_queryID, $fieldOffset)); 110 $fld->name = OCIcolumnname($this->_queryID, $fieldOffset); 111 if (ADODB_ASSOC_CASE == 0) $fld->name = strtolower($fld->name); 106 112 $fld->type = OCIcolumntype($this->_queryID, $fieldOffset); 107 113 $fld->max_length = OCIcolumnsize($this->_queryID, $fieldOffset); … … 150 156 151 157 /* Optimize SelectLimit() by using OCIFetch() instead of OCIFetchInto() */ 152 function &GetArrayLimit($nrows,$offset=-1)158 function GetArrayLimit($nrows,$offset=-1) 153 159 { 154 160 if ($offset <= 0) {
Note: See TracChangeset
for help on using the changeset viewer.