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

Class: DB_QueryTool_Result_Object

Source Location: /DB_QueryTool-1.1.2/QueryTool/Result/Object.php

Class Overview

DB_QueryTool_Result
   |
   --DB_QueryTool_Result_Object

DB_QueryTool_Result_Object class


Author(s):

Copyright:

  • 2004-2005 Roman Dostovalov

Methods


Inherited Variables

Inherited Methods

Class: DB_QueryTool_Result

DB_QueryTool_Result::DB_QueryTool_Result()
create a new instance of result with the data returned by the query
DB_QueryTool_Result::fetchRow()
This function emulates PEAR::DB fetchRow() method.
DB_QueryTool_Result::getCount()
return the number of rows returned
DB_QueryTool_Result::getData()
get all the data returned
DB_QueryTool_Result::getFirst()
get the first result set we are not using next, current, and reset, since those ignore keys which are empty or 0
DB_QueryTool_Result::getNext()
Get next result set. If getFirst() has never been called before, it calls that method.
DB_QueryTool_Result::hasMore()
check if there are other rows
DB_QueryTool_Result::numRows()
return the number of rows returned. This is an alias for getCount().

Class Details

[line 81]
DB_QueryTool_Result_Object class


[ Top ]


Method Detail

fetchRow   [line 93]

void fetchRow( )

This function emulates PEAR::DB fetchRow() method With this function DB_QueryTool can transparently replace PEAR::DB
  • Todo: implement fetchmode support?
  • Access: public

Overrides DB_QueryTool_Result::fetchRow() (This function emulates PEAR::DB fetchRow() method.)
[ Top ]


Documentation generated on Sat, 12 Jan 2008 08:30:05 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.