Documentation TYPO3 par Ameos

ADORecordSet_odbc Class Reference

Inheritance diagram for ADORecordSet_odbc:

Inheritance graph
[legend]
Collaboration diagram for ADORecordSet_odbc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ADORecordSet_odbc ($id, $mode=false)
FetchField ($fieldOffset=-1)
 Fields ($colname)
 _initrs ()
 _seek ($row)
GetArrayLimit ($nrows, $offset=-1)
 MoveNext ()
 _fetch ()
 _close ()

Public Attributes

 $bind = false
 datetime in Unix format rs created -- for cached recordsets
 $databaseType = "odbc"
 $dataProvider = "odbc"
 $useFetchArray
 $_has_stupid_odbc_fetch_api_change

Detailed Description

Definition at line 601 of file adodb-odbc.inc.php.


Member Function Documentation

& ADORecordSet_odbc::FetchField fieldOffset = -1  ) 
 

Get the ADOFieldObject of a specific column.

Parameters:
fieldoffset is the column position to access(0-based).
Returns:
the ADOFieldObject for that column, or false.

Reimplemented from ADORecordSet.

Reimplemented in ADORecordSet_db2.

Definition at line 627 of file adodb-odbc.inc.php.

Referenced by Fields().

ADORecordSet_odbc::Fields colname  ) 
 

Get the value of a field in the current row by column name. Will not work if ADODB_FETCH_MODE is set to ADODB_FETCH_NUM.

Parameters:
colname is the field to access
Returns:
the value of $colname column

Reimplemented from ADORecordSet.

Reimplemented in ADORecordSet_db2.

Definition at line 642 of file adodb-odbc.inc.php.

References FetchField().

& ADORecordSet_odbc::GetArrayLimit nrows,
offset = -1
 

return recordset as a 2-dimensional array. Helper function for ADOConnection->SelectLimit()

Parameters:
offset is the row to start calculations from (1-based)
[nrows] is the number of rows to return
Returns:
an array indexed by the rows (0-based) from the recordset

Reimplemented from ADORecordSet.

Reimplemented in ADORecordSet_db2.

Definition at line 674 of file adodb-odbc.inc.php.

ADORecordSet_odbc::MoveNext  ) 
 

Move to next record in the recordset.

Returns:
true if there still rows available, or false if there are no more rows (EOF).

Reimplemented from ADORecordSet.

Reimplemented in ADORecordSet_db2.

Definition at line 700 of file adodb-odbc.inc.php.


The documentation for this class was generated from the following file:


Généré par L'expert TYPO3 avec  doxygen 1.4.6