

Public Member Functions | |
| ADORecordSet_array ($fakeid=1) | |
| _transpose ($addfieldnames=true) | |
| InitArray ($array, $typearr, $colnames=false) | |
| InitArrayFields (&$array, &$fieldarr) | |
| & | GetArray ($nRows=-1) |
| _initrs () | |
| Fields ($colname) | |
| & | FetchField ($fieldOffset=-1) |
| _seek ($row) | |
| MoveNext () | |
| _fetch () | |
| _close () | |
Public Attributes | |
| $databaseType = 'array' | |
| $_array | |
| $_types | |
| $_colnames | |
| $_skiprow1 | |
| $_fieldobjects | |
| $canSeek = true | |
| in other words, we use a text area for editing. | |
| $affectedrows = false | |
| $insertid = false | |
| $sql = '' | |
| indicates that seek is supported | |
| $compat = false | |
Note that the constructor is different from the standard ADORecordSet
Definition at line 3719 of file adodb.inc.php.
| ADORecordSet_array.ADORecordSet_array | ( | $ | fakeid = 1 |
) |
Constructor
Definition at line 3737 of file adodb.inc.php.
References ADORecordSet.ADORecordSet().
Referenced by ADORecordSet_array_sybase.ADORecordSet_array_sybase().

| ADORecordSet_array._transpose | ( | $ | addfieldnames = true |
) |
Definition at line 3747 of file adodb.inc.php.
References $ADODB_INCLUDED_LIB, _initrs(), adodb_probetypes(), and adodb_transpose().

| ADORecordSet_array.InitArray | ( | $ | array, | |
| $ | typearr, | |||
| $ | colnames = false | |||
| ) |
Setup the array.
| array | is a 2-dimensional array holding the data. The first row should hold the column names unless paramter $colnames is used. | |
| typearr | holds an array of types. These are the same types used in MetaTypes (C,B,L,I,N). | |
| [colnames] | array of column names. If set, then the first row of $array should not hold the column names. |
Definition at line 3790 of file adodb.inc.php.
References $array, $typearr, and ADORecordSet.Init().

| ADORecordSet_array.InitArrayFields | ( | &$ | array, | |
| &$ | fieldarr | |||
| ) |
Setup the Array and datatype file objects
| array | is a 2-dimensional array holding the data. The first row should hold the column names unless paramter $colnames is used. | |
| fieldarr | holds an array of ADOFieldObject's. |
Definition at line 3811 of file adodb.inc.php.
References $array, and ADORecordSet.Init().

| & ADORecordSet_array.GetArray | ( | $ | nRows = -1 |
) |
return recordset as a 2-dimensional array.
| [nRows] | is the number of rows to return. -1 means every row. |
Reimplemented from ADORecordSet.
Definition at line 3821 of file adodb.inc.php.
References $arr, and ADORecordSet.GetArray().

| ADORecordSet_array._initrs | ( | ) |
| ADORecordSet_array.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 3841 of file adodb.inc.php.
References FetchField().

| & ADORecordSet_array.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 3859 of file adodb.inc.php.
Referenced by Fields().
| ADORecordSet_array._seek | ( | $ | row | ) |
| ADORecordSet_array.MoveNext | ( | ) |
Move to next record in the recordset.
Reimplemented from ADORecordSet.
Definition at line 3883 of file adodb.inc.php.
| ADORecordSet_array._fetch | ( | ) |
Definition at line 3903 of file adodb.inc.php.
| ADORecordSet_array._close | ( | ) |
| ADORecordSet_array.$databaseType = 'array' |
Definition at line 3721 of file adodb.inc.php.
| ADORecordSet_array.$_array |
Definition at line 3723 of file adodb.inc.php.
| ADORecordSet_array.$_types |
Definition at line 3724 of file adodb.inc.php.
| ADORecordSet_array.$_colnames |
Definition at line 3725 of file adodb.inc.php.
| ADORecordSet_array.$_skiprow1 |
Definition at line 3726 of file adodb.inc.php.
| ADORecordSet_array.$_fieldobjects |
Definition at line 3727 of file adodb.inc.php.
| ADORecordSet_array.$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 3728 of file adodb.inc.php.
| ADORecordSet_array.$affectedrows = false |
Definition at line 3729 of file adodb.inc.php.
| ADORecordSet_array.$insertid = false |
Definition at line 3730 of file adodb.inc.php.
| ADORecordSet_array.$sql = '' |
indicates that seek is supported
Reimplemented from ADORecordSet.
Definition at line 3731 of file adodb.inc.php.
| ADORecordSet_array.$compat = false |
Definition at line 3732 of file adodb.inc.php.