"TYPO3 4.0.1: ADORecordSet Class Reference", "datetime" => "Sat Dec 2 19:24:04 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
Public Member Functions | |
ADORecordSet ($queryID) | |
Init () | |
GetMenu ($name, $defstr='', $blank1stItem=true, $multiple=false, $size=0, $selectAttr='', $compareFields0=true) | |
GetMenu2 ($name, $defstr='', $blank1stItem=true, $multiple=false, $size=0, $selectAttr='') | |
GetMenu3 ($name, $defstr='', $blank1stItem=true, $multiple=false, $size=0, $selectAttr='') | |
& | GetArray ($nRows=-1) |
& | GetAll ($nRows=-1) |
NextRecordSet () | |
& | GetArrayLimit ($nrows, $offset=-1) |
& | GetRows ($nRows=-1) |
& | GetAssoc ($force_array=false, $first2cols=false) |
UserTimeStamp ($v, $fmt='Y-m-d H:i:s') | |
UserDate ($v, $fmt='Y-m-d') | |
UnixDate ($v) | |
UnixTimeStamp ($v) | |
Free () | |
NumRows () | |
NumCols () | |
& | FetchRow () |
FetchInto (&$arr) | |
MoveFirst () | |
MoveLast () | |
MoveNext () | |
Move ($rowNumber=0) | |
Fields ($colname) | |
GetAssocKeys ($upper=true) | |
& | GetRowAssoc ($upper=1) |
Close () | |
RecordCount () | |
MaxRecordCount () | |
RowCount () | |
PO_RecordCount ($table="", $condition="") | |
CurrentRow () | |
AbsolutePosition () | |
FieldCount () | |
& | FetchField ($fieldoffset) |
& | FieldTypesArray () |
& | FetchObj () |
& | FetchObject ($isupper=true) |
& | FetchNextObj () |
& | FetchNextObject ($isupper=true) |
MetaType ($t, $len=-1, $fieldobj=false) | |
_close () | |
AbsolutePage ($page=-1) | |
AtFirstPage ($status=false) | |
LastPageNo ($page=false) | |
AtLastPage ($status=false) | |
Public Attributes | |
$dataProvider = "native" | |
$fields = false | |
$blobSize = 100 | |
holds the current row data | |
$canSeek = false | |
in other words, we use a text area for editing. | |
$sql | |
indicates that seek is supported | |
$EOF = false | |
sql text | |
$emptyTimeStamp = ' ' | |
Indicates that the current record position is after the last record in a Recordset object. | |
$emptyDate = ' ' | |
what to display when $time==0 | |
$debug = false | |
what to display when $time==0 | |
$timeCreated = 0 | |
$bind = false | |
datetime in Unix format rs created -- for cached recordsets | |
$fetchMode | |
used by Fields() to hold array - should be private? | |
$connection = false | |
default fetch mode | |
$_numOfRows = -1 | |
the parent connection | |
$_numOfFields = -1 | |
$_queryID = -1 | |
$_currentRow = -1 | |
$_closed = false | |
$_inited = false | |
$_obj | |
$_names | |
$_currentPage = -1 | |
$_atFirstPage = false | |
$_atLastPage = false | |
$_lastPageNo = -1 | |
$_maxRecordCount = 0 | |
$datetime = false |
Definition at line 2630 of file adodb.inc.php.
|
|
set/returns the current recordset page when paginating Definition at line 3563 of file adodb.inc.php. |
|
synonym for CurrentRow -- for ADO compat
Definition at line 3281 of file adodb.inc.php. |
|
set/returns the status of the atFirstPage flag when paginating Definition at line 3572 of file adodb.inc.php. |
|
set/returns the status of the atLastPage flag when paginating Definition at line 3587 of file adodb.inc.php. |
|
Clean up recordset
Definition at line 3211 of file adodb.inc.php. Referenced by Free(). |
|
Definition at line 3274 of file adodb.inc.php. |
|
Get the ADOFieldObject of a specific column.
Reimplemented in ADORecordSet_array, ADORecordSet_ado, ADORecordSet_ado, ADORecordSet_db2, ADORecordSet_fbsql, ADORecordset_ibase, ADORecordset_informix72, ADORecordSet_mysql, ADORecordSet_mysqli, ADORecordset_oci8, ADORecordSet_odbc, ADORecordSet_odbtp, ADORecordset_oracle, ADORecordSet_pdo, ADORecordSet_postgres64, ADORecordset_sqlite, and ADORecordset_sybase. Definition at line 3297 of file adodb.inc.php. Referenced by GetAssocKeys(). |
|
Fetch a row, returning PEAR_Error if no more rows. This is PEAR DB compat mode.
Definition at line 3044 of file adodb.inc.php. References MoveNext(). |
|
Return the fields array of the current row as an object for convenience. The default is lower-case field names.
Definition at line 3367 of file adodb.inc.php. |
|
Return the fields array of the current row as an object for convenience. The default is upper case field names.
Definition at line 3385 of file adodb.inc.php. |
|
Return the fields array of the current row as an object for convenience. The default case is lowercase field names.
Definition at line 3320 of file adodb.inc.php. |
|
Return the fields array of the current row as an object for convenience. The default case is uppercase.
Definition at line 3334 of file adodb.inc.php. |
|
Fetch a row, returning false if no more rows. This is PEAR DB compat mode.
Definition at line 3025 of file adodb.inc.php. |
|
Definition at line 3287 of file adodb.inc.php. |
|
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.
Reimplemented in ADORecordSet_array, ADORecordSet_ado, ADORecordSet_ado, ADORecordSet_db2, ADORecordset_ibase, ADORecordSet_mysql, ADORecordSet_mysqli, ADORecordset_oci8, ADORecordset_oci8po, ADORecordSet_odbc, ADORecordset_oracle, ADORecordSet_pdo, ADORecordSet_postgres64, and ADORecordset_sqlite. Definition at line 3165 of file adodb.inc.php. |
|
Get the ADOFieldObjects of all columns in an array. Definition at line 3306 of file adodb.inc.php. |
|
PEAR DB Compat - do not use internally Definition at line 2996 of file adodb.inc.php. References Close(). |
|
return recordset as a 2-dimensional array.
Reimplemented in ADORecordSet_array. Definition at line 2766 of file adodb.inc.php. References MoveNext(). Referenced by GetAll(), ADORecordSet_array::GetArray(), ADORecordset_oci8::GetArrayLimit(), GetArrayLimit(), and GetRows(). |
|
return recordset as a 2-dimensional array. Helper function for ADOConnection->SelectLimit()
Reimplemented in ADORecordSet_db2, ADORecordset_oci8, ADORecordset_oci8po, and ADORecordSet_odbc. Definition at line 2806 of file adodb.inc.php. References GetArray(), Move(), and MoveNext(). |
|
return whole recordset as a 2-dimensional associative array if there are more than 2 columns. The first column is treated as the key and is not included in the array. If there is only 2 columns, it will return a 1 dimensional array of key-value pairs unless $force_array == true.
Reimplemented in ADORecordSet_ldap. Definition at line 2855 of file adodb.inc.php. References MoveNext(). |
|
Generate a SELECT tag string from a recordset, and return the string. If the recordset has 2 cols, we treat the 1st col as the containing the text to display to the user, and 2nd col as the return value. Default strings are compared with the FIRST column.
Definition at line 2723 of file adodb.inc.php. Referenced by GetMenu2(). |
|
Generate a SELECT tag string from a recordset, and return the string. If the recordset has 2 cols, we treat the 1st col as the containing the text to display to the user, and 2nd col as the return value. Default strings are compared with the SECOND column. Definition at line 2741 of file adodb.inc.php. References GetMenu(). |
|
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 in ADORecordSet_mysql, ADORecordSet_mysqli, and ADORecordSet_postgres64. Definition at line 3189 of file adodb.inc.php. Referenced by ADORecordset_sybase::_fetch(), ADORecordSet_postgres64::GetRowAssoc(), ADORecordSet_mysqli::GetRowAssoc(), and ADORecordSet_mysql::GetRowAssoc(). |
|
Synonym for GetArray() for compatibility with ADO.
Definition at line 2833 of file adodb.inc.php. References GetArray(). |
|
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:
Reimplemented in ADORecordSet_ado, ADORecordSet_ado, ADORecordSet_fbsql, ADORecordset_ibase, ADORecordSet_mysql, ADORecordSet_mysqli, ADORecordSet_odbc_db2, and ADORecordSet_postgres64. Definition at line 3421 of file adodb.inc.php. Referenced by ADODB_DataDict::MetaType(). |
|
Random access to a specific row in the recordset. Some databases do not support access to previous rows in the databases (no scrolling backwards).
Definition at line 3115 of file adodb.inc.php. Referenced by GetArrayLimit(), MoveFirst(), and MoveLast(). |
|
Move to the first row in the recordset. Many databases do NOT support this.
Reimplemented in ADORecordset_informix72, and ADORecordSet_odbtp. Definition at line 3058 of file adodb.inc.php. References Move(). |
|
Move to the last row in the recordset.
Reimplemented in ADORecordset_informix72, and ADORecordSet_odbtp. Definition at line 3070 of file adodb.inc.php. References Move(), and MoveNext(). |
|
Move to next record in the recordset.
Reimplemented in ADORecordSet_array, ADORecordSet_db2, ADORecordSet_mysql, ADORecordSet_ext_mysql, ADORecordSet_mysqli, ADORecordSet_mysqlt, ADORecordSet_ext_mysqlt, ADORecordset_oci8, ADORecordset_oci8po, ADORecordSet_odbc, ADORecordSet_postgres64, ADORecordSet_postgres7, and ADORecordSet_assoc_postgres7. Definition at line 3089 of file adodb.inc.php. Referenced by FetchInto(), GetArray(), GetArrayLimit(), GetAssoc(), and MoveLast(). |
|
PEAR DB compat, number of cols Definition at line 3014 of file adodb.inc.php. |
|
PEAR DB compat, number of rows Definition at line 3005 of file adodb.inc.php. |
|
Portable RecordCount. Pablo Roca <pabloroca@mvps.org>
Definition at line 3256 of file adodb.inc.php. |
|
synonyms RecordCount and RowCount
Definition at line 3228 of file adodb.inc.php. |
|
synonyms RecordCount and RowCount
Definition at line 3245 of file adodb.inc.php. |
|
Reimplemented in ADORecordset_sybase, and ADORecordSet_array_sybase. Definition at line 2976 of file adodb.inc.php. References ADOConnection::UnixDate(). Referenced by ADODB_oracle::DBDate(), ADODB_oci8::DBDate(), and UserDate(). |
|
Reimplemented in ADORecordset_sybase, and ADORecordSet_array_sybase. Definition at line 2987 of file adodb.inc.php. References ADOConnection::UnixTimeStamp(). Referenced by ADODB_oracle::DBTimeStamp(), ADODB_oci8::DBTimeStamp(), and UserTimeStamp(). |
|
Definition at line 2959 of file adodb.inc.php. References UnixDate(). |
|
Definition at line 2942 of file adodb.inc.php. References UnixTimeStamp(). |
|
Added by Iván Oliva to implement recordset pagination Definition at line 2663 of file adodb.inc.php. |
|
Added by Iván Oliva to implement recordset pagination Definition at line 2664 of file adodb.inc.php. |
|
This variable keeps the current row in the Recordset. Definition at line 2657 of file adodb.inc.php. |
|
Used by FetchObj Definition at line 2662 of file adodb.inc.php. |
|
This variable keeps the result link identifier. Definition at line 2656 of file adodb.inc.php. |
|
has recordset been closed Definition at line 2658 of file adodb.inc.php. |
|
Added by Iván Oliva to implement recordset pagination Definition at line 2665 of file adodb.inc.php. |
|
Used by FetchObj Definition at line 2660 of file adodb.inc.php. |
|
number of rows, or -1 Definition at line 2654 of file adodb.inc.php. |
|
Init() should only be called once Definition at line 2659 of file adodb.inc.php. |
|
number of fields in recordset Definition at line 2655 of file adodb.inc.php. |
|
in other words, we use a text area for editing. any varchar/char field this size or greater is treated as a blob Reimplemented in ADORecordSet_array, ADORecordSet_ado, ADORecordSet_fbsql, ADORecordset_informix72, ADORecordSet_ldap, ADORecordSet_mysql, ADORecordSet_mysqli, ADORecordSet_netezza, ADORecordSet_odbtp, ADORecordSet_postgres64, and ADORecordset_sybase. Definition at line 2638 of file adodb.inc.php. |