Documentation TYPO3 par Ameos |
Public Member Functions | |
ADORecordSet_ado ($id, $mode=false) | |
& | FetchField ($fieldOffset=-1) |
Fields ($colname) | |
_initrs () | |
_seek ($row) | |
MetaType ($t, $len=-1, $fieldobj=false) | |
_fetch () | |
NextRecordSet () | |
_close () | |
ADORecordSet_ado ($id, $mode=false) | |
& | FetchField ($fieldOffset=-1) |
Fields ($colname) | |
_initrs () | |
_seek ($row) | |
MetaType ($t, $len=-1, $fieldobj=false) | |
_fetch () | |
NextRecordSet () | |
_close () | |
Public Attributes | |
$bind = false | |
datetime in Unix format rs created -- for cached recordsets | |
$databaseType = "ado" | |
$dataProvider = "ado" | |
$_tarr = false | |
$_flds | |
$canSeek = true | |
in other words, we use a text area for editing. | |
$hideErrors = true |
Definition at line 318 of file adodb-ado.inc.php.
& ADORecordSet_ado::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 340 of file adodb-ado.inc.php.
References MetaType().
Referenced by Fields().
ADORecordSet_ado::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 357 of file adodb-ado.inc.php.
References FetchField().
Referenced by _fetch().
ADORecordSet_ado::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 476 of file adodb-ado.inc.php.
Referenced by FetchField().
& ADORecordSet_ado::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 373 of file adodb-ado5.inc.php.
References MetaType().
ADORecordSet_ado::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 391 of file adodb-ado5.inc.php.
References FetchField().
ADORecordSet_ado::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 510 of file adodb-ado5.inc.php.
ADORecordSet_ado::$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 325 of file adodb-ado.inc.php.