PHPonTraxTest
[ class tree: PHPonTraxTest ] [ index: PHPonTraxTest ] [ all elements ]

Class: DB_find_all_result

Source Location: /test/ActiveRecordTest.php

Class Overview

DB_result
   |
   --DB_find_all_result

Mock DB_result


Variables

Methods


Inherited Methods

Class: DB_result

DB_result::DB_result()
This constructor sets the object's properties
DB_result::fetchInto()
Fetch a row of data into an array which is passed by reference
DB_result::fetchRow()
Fetch a row of data and return it by reference into an array
DB_result::free()
Frees the resources allocated for this result set
DB_result::getQuery()
Determine the query string that created this result
DB_result::getRowCounter()
Tells which row number is currently being processed
DB_result::nextResult()
Get the next result if a batch of queries was executed
DB_result::numCols()
Get the the number of columns in a result set
DB_result::numRows()
Get the number of rows in a result set
DB_result::setOption()
Set options for the DB_result object

Class Details

[line 65]
Mock DB_result



[ Top ]


Class Variables

$data = array(array('id' => '17',
                                'prefix' => '',
                                'first_name' => 'Ben',
                                'mi' => '',
                                'last_name' => 'Dover',
                                'suffix' => ''),array('id'=>'23','prefix'=>'','first_name'=>'Eileen','mi'=>'','last_name'=>'Dover','suffix'=>''))

[line 67]



Tags:

access:  private

Type:   mixed


[ Top ]

$row_num =  0

[line 81]



Tags:

access:  private

Type:   mixed


[ Top ]



Class Methods


method fetchRow [line 83]

void fetchRow( )



Overrides DB_result::fetchRow() (Fetch a row of data and return it by reference into an array)

[ Top ]


Documentation generated on Thu, 04 May 2006 19:47:07 -0600 by phpDocumentor 1.3.0RC4