|
|
File: c:/www/apache/doc2//pear/DB_Result.php
PEAR 2000/12/03 -
DB_result
DB_result
This class implements a wrapper for a DB result set.
|
private class DB_result
This class implements a wrapper for a DB result set.
A new instance of this class will be returned by the DB implementationafter processing a query that returns data.
|
|
|
|
|
|
Public Method Details |
DB_result |
public void DB_result( object reference &$dbh, $result )
|
|
DB_result constructor.
|
Parameter |
|
|
|
|
$result |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
|
Private Method Details |
fetchRow |
private array fetchRow( string $fetchmode )
|
|
Fetch and return a row of data.
|
Parameter |
|
string |
$fetchmode |
|
|
Warning: documentation is missing. |
|
Returns |
array a row of data, or false on error |
|
fetchInto |
private int fetchInto( array &$arr, string $fetchmode )
|
|
Fetch a row of data into an existing array.
|
Parameter |
|
|
|
string |
$fetchmode |
|
|
Warning: documentation is missing. |
|
Returns |
int error code |
|
numCols |
private int numCols( )
|
|
Get the the number of columns in a result set.
|
Returns |
int the number of columns, or a DB error code |
|
free |
private int free( )
|
|
Frees the resources allocated for this result set.
|
Returns |
int error code |
|
|
Private Field Details |
$dbh |
private unknown $dbh
>> <<
|
|
$result |
private unknown $result
>> <<
|
|
|
|
|
PHPDoc 1.0beta |