Documentation TYPO3 par Ameos |
Public Member Functions | |
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) | |
Public Attributes | |
$databaseType = "mysql" | |
$canSeek = true | |
in other words, we use a text area for editing. |
Definition at line 594 of file adodb-mysql.inc.php.
& ADORecordSet_mysql::FetchField | ( | $ | fieldOffset = -1 |
) |
Get the ADOFieldObject of a specific column.
fieldoffset | is the column position to access(0-based). |
Reimplemented from ADORecordSet.
Definition at line 626 of file adodb-mysql.inc.php.
Referenced by Fields().
& 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
Reimplemented from ADORecordSet.
Definition at line 644 of file adodb-mysql.inc.php.
References ADORecordSet::GetRowAssoc().
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.
colname | is the field to access |
Reimplemented from ADORecordSet.
Definition at line 652 of file adodb-mysql.inc.php.
References FetchField().
ADORecordSet_mysql::MoveNext | ( | ) |
Move to next record in the recordset.
Reimplemented from ADORecordSet.
Reimplemented in ADORecordSet_ext_mysql, ADORecordSet_mysqlt, and ADORecordSet_ext_mysqlt.
Definition at line 673 of file adodb-mysql.inc.php.
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:
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). |
Reimplemented from ADORecordSet.
Definition at line 699 of file adodb-mysql.inc.php.
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
Reimplemented from ADORecordSet.
Definition at line 597 of file adodb-mysql.inc.php.