Documentation TYPO3 par Ameos

ADORecordSet_mysqli Class Reference

Inheritance diagram for ADORecordSet_mysqli:

Inheritance graph
Collaboration diagram for ADORecordSet_mysqli:

Collaboration graph
List of all members.

Public Member Functions

 ADORecordSet_mysqli ($queryID, $mode=false)
 _initrs ()
FetchField ($fieldOffset=-1)
GetRowAssoc ($upper=true)
 Fields ($colname)
 _seek ($row)
 MoveNext ()
 _fetch ()
 _close ()
 MetaType ($t, $len=-1, $fieldobj=false)

Public Attributes

 $databaseType = "mysqli"
 $canSeek = true
 in other words, we use a text area for editing.

Detailed Description

Definition at line 717 of file

Member Function Documentation

& ADORecordSet_mysqli::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 776 of file

Referenced by Fields().

ADORecordSet_mysqli::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 803 of file

References FetchField().

& ADORecordSet_mysqli::GetRowAssoc upper = true  ) 

Use associative array to get fields array for databases that do not support associative arrays. Submitted by Paolo S. Asioli

If you don't want uppercase cols, set $ADODB_FETCH_MODE = ADODB_FETCH_ASSOC before you execute your SQL statement, and access $rs->fields['col'] directly.

$upper 0 = lowercase, 1 = uppercase, 2 = whatever is returned by FetchField

Reimplemented from ADORecordSet.

Definition at line 794 of file

References ADORecordSet::GetRowAssoc().

ADORecordSet_mysqli::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 886 of file

ADORecordSet_mysqli::MoveNext  ) 

Move to next record in the recordset.

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

Reimplemented from ADORecordSet.

Definition at line 834 of file

Member Data Documentation

ADORecordSet_mysqli::$canSeek = true

in other words, we use a text area for editing.

any varchar/char field this size or greater is treated as a blob

Reimplemented from ADORecordSet.

Definition at line 720 of file

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

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