Documentation TYPO3 par Ameos

ADORecordSet_odbc_db2 Class Reference

Inheritance diagram for ADORecordSet_odbc_db2:
[legend]
Collaboration diagram for ADORecordSet_odbc_db2:
[legend]
List of all members.

Public Member Functions

 ADORecordSet_db2 ($id, $mode=false)
 MetaType ($t, $len=-1, $fieldobj=false)

Public Attributes

 $databaseType = "db2"

Detailed Description

Definition at line 303 of file adodb-odbc_db2.inc.php.


Member Function Documentation

ADORecordSet_odbc_db2::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:

Parameters:
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).
Returns:
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 312 of file adodb-odbc_db2.inc.php.


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


Généré par Les experts TYPO3 avec  doxygen 1.4.6