類別ADORecordSet_assoc_postgres7的繼承圖:

公開方法(Public Methods) | |
| ADORecordSet_assoc_postgres7 ($queryID, $mode=false) | |
| _fetch () | |
| _updatefields () | |
| MoveNext () | |
公開屬性 | |
| $databaseType = "postgres7" | |
定義在 adodb-postgres7.inc.php 檔案之第 193 行.
|
||||||||||||
|
定義在 adodb-postgres7.inc.php 檔案之第 198 行. 參考 $mode, 及 ADORecordSet_postgres64::ADORecordSet_postgres64(). 00199 { 00200 $this->ADORecordSet_postgres64($queryID,$mode); 00201 }
|
|
|
依據ADORecordSet_postgres64重新實作. 定義在 adodb-postgres7.inc.php 檔案之第 203 行. 參考 ADORecordSet_postgres64::_fixblobs(), 及 _updatefields(). 00204 { 00205 if ($this->_currentRow >= $this->_numOfRows && $this->_numOfRows >= 0) 00206 return false; 00207 00208 $this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode); 00209 00210 if ($this->fields) { 00211 if (isset($this->_blobArr)) $this->_fixblobs(); 00212 $this->_updatefields(); 00213 } 00214 00215 return (is_array($this->fields)); 00216 }
|
|
|
定義在 adodb-postgres7.inc.php 檔案之第 219 行. 被參考於 _fetch(), 及 MoveNext(). 00220 { 00221 if (ADODB_ASSOC_CASE == 2) return; // native 00222 00223 $arr = array(); 00224 $lowercase = (ADODB_ASSOC_CASE == 0); 00225 00226 foreach($this->fields as $k => $v) { 00227 if (is_integer($k)) $arr[$k] = $v; 00228 else { 00229 if ($lowercase) 00230 $arr[strtolower($k)] = $v; 00231 else 00232 $arr[strtoupper($k)] = $v; 00233 } 00234 } 00235 $this->fields = $arr; 00236 }
|
|
|
Move to next record in the recordset.
依據ADORecordSet_postgres64重新實作. 定義在 adodb-postgres7.inc.php 檔案之第 238 行. 參考 ADORecordSet_postgres64::_fixblobs(), 及 _updatefields(). 00239 { 00240 if (!$this->EOF) { 00241 $this->_currentRow++; 00242 if ($this->_numOfRows < 0 || $this->_numOfRows > $this->_currentRow) { 00243 $this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode); 00244 00245 if (is_array($this->fields)) { 00246 if ($this->fields) { 00247 if (isset($this->_blobArr)) $this->_fixblobs(); 00248 00249 $this->_updatefields(); 00250 } 00251 return true; 00252 } 00253 } 00254 00255 00256 $this->fields = false; 00257 $this->EOF = true; 00258 } 00259 return false; 00260 }
|
|
|
依據ADORecordSet_postgres64重新實作. 定義在 adodb-postgres7.inc.php 檔案之第 195 行. |