DB |
[ class tree: DB ] [ index: DB ] [ all elements ] |
Packages: DB Classes:
DB
Files:DB_common DB_dbase DB_Error DB_fbsql DB_ibase DB_ifx DB_msql DB_mssql DB_mysql DB_mysqli DB_oci8 DB_odbc DB_pgsql DB_result DB_row DB_sqlite DB_storage DB_sybase
common.php
DB.php dbase.php fbsql.php ibase.php ifx.php msql.php mssql.php mysql.php mysqli.php oci8.php odbc.php pgsql.php sqlite.php storage.php sybase.php |
[ Top ] $features = array(
|
Type: | array |
[line 62]
The DB driver type (mysql, oci8, odbc, etc.)Type: | string |
|
|
|
bool | $onoff | — | true turns it on, false turns it off |
|
|
Don't call this method directly. Use DB::connect() instead.
array | $dsn | — | the data source name |
bool | $persistent | — | should the connection be persistent? |
|
|
Requires that the DB implementation's constructor fills in the $errorcode_map property.
string | $nativecode | — | error code returned by the database |
|
|
Formating of the array and the data therein are configurable. See DB_result::fetchInto() for more information.
This method is not meant to be called directly. Use DB_result::fetchInto() instead. It can't be declared "protected" because DB_result is a separate object.
resource | $result | — | the query result resource |
array | $arr | — | the referenced array to put the data in |
int | $fetchmode | — | how the resulting array should be indexed |
int | $rownum | — | the row number to fetch (0 = first row) |
&$arr | — |
|
This method is not meant to be called directly. Use DB_result::free() instead. It can't be declared "protected" because DB_result is a separate object.
resource | $result | — | PHP's query result resource |
|
string | $type | — | the kind of objects you want to retrieve |
|
int | $errno | — | if the error is being manually raised pass a DB_ERROR* constant here. If this isn't passed the error information gathered from the DBMS. |
|
a | $result | — | valid fbsql result resource |
|
This method is not meant to be called directly. Use DB_result::numCols() instead. It can't be declared "protected" because DB_result is a separate object.
resource | $result | — | PHP's query result resource |
|
|
string | $query | — | the SQL query string |
|
NOTE: only supports 'table' if $result is a table name.
If analyzing a query result and the result has duplicate field names, an error will be raised saying can't distinguish duplicate field names.
object|string | $result | — | DB_result object from a query or a string containing the name of a table. While this also accepts a query result resource identifier, this behavior is deprecated. |
int | $mode | — | a valid tableInfo mode |