Documentation TYPO3 par Ameos

ADORecordset_ibase Class Reference

Inheritance diagram for ADORecordset_ibase:
Collaboration diagram for ADORecordset_ibase:
List of all members.

Public Member Functions

 ADORecordset_ibase ($id, $mode=false)
FetchField ($fieldOffset=-1)
 _initrs ()
 _seek ($row)
 _fetch ()
 Fields ($colname)
 _close ()
 MetaType ($t, $len=-1, $fieldobj=false)

Public Attributes

 $databaseType = "ibase"
 $bind = false
 datetime in Unix format rs created -- for cached recordsets

Detailed Description

Definition at line 726 of file

Member Function Documentation

& ADORecordset_ibase::FetchField ( fieldOffset = -1  ) 

Get the ADOFieldObject of a specific column.

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

Reimplemented from ADORecordSet.

Definition at line 746 of file

Referenced by _initrs(), and Fields().

ADORecordset_ibase::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.

colname is the field to access
the value of $colname column

Reimplemented from ADORecordSet.

Definition at line 833 of file

References FetchField().

ADORecordset_ibase::MetaType ( t,
len = -1,
fieldobj = false 

Get the metatype of the column. This is used for formatting. This is because many databases use different names for the same type, so we transform the original type to our standardised version which uses 1 character codes:

t is the type passed in. Normally is ADOFieldObject->type.
len is the maximum length of that field. This is because we treat character fields bigger than a certain size as a 'B' (blob).
fieldobj is the field object returned by the database driver. Can hold additional info (eg. primary_key for mysql).
the general type of the data: C for character < 250 chars X for teXt (>= 250 chars) B for Binary N for numeric or floating point D for date T for timestamp L for logical/Boolean I for integer R for autoincrement counter/integer

Reimplemented from ADORecordSet.

Definition at line 854 of file

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

Généré par TYPO3 Ameos avec  doxygen 1.4.6