Solutions Open Source

Référence de la classe ADORecordSet_mysql

Graphe d'héritage de ADORecordSet_mysql:

Inheritance graph
[légende]
Graphe de collaboration de ADORecordSet_mysql:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

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

Attributs publics

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


Documentation des fonctions membres

ADORecordSet_mysql::ADORecordSet_mysql ( queryID,
mode = false 
)

ADORecordSet_mysql::_initrs (  ) 

& ADORecordSet_mysql::FetchField ( fieldoffset = -1  ) 

Get the ADOFieldObject of a specific column.

Paramètres:
fieldoffset is the column position to access(0-based).
Renvoie:
the ADOFieldObject for that column, or false.

Réimplémentée à partir de ADORecordSet.

& ADORecordSet_mysql::GetRowAssoc ( upper = true  ) 

Use associative array to get fields array for databases that do not support associative arrays. Submitted by Paolo S. Asioli paolo.asioli::libero.it

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

Réimplémentée à partir de ADORecordSet.

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

Paramètres:
colname is the field to access
Renvoie:
the value of $colname column

Réimplémentée à partir de ADORecordSet.

ADORecordSet_mysql::_seek ( row  ) 

ADORecordSet_mysql::MoveNext (  ) 

Move to next record in the recordset.

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

Réimplémentée à partir de ADORecordSet.

Réimplémentée dans ADORecordSet_ext_mysql, ADORecordSet_mysqlt, et ADORecordSet_ext_mysqlt.

ADORecordSet_mysql::_fetch (  ) 

ADORecordSet_mysql::_close (  ) 

Réimplémentée à partir de ADORecordSet.

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

Paramètres:
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).
Renvoie:
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

Réimplémentée à partir de ADORecordSet.


Documentation des données membres

ADORecordSet_mysql::$databaseType = "mysql"

Réimplémentée dans ADORecordSet_mysqlt.

ADORecordSet_mysql::$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

Réimplémentée à partir de ADORecordSet.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:40:26 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3