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

Class: MDB_QueryTool_Result_Object

Source Location: /MDB_QueryTool-1.0.2/QueryTool/Result/Object.php

Class Overview

MDB_QueryTool_Result
   |
   --MDB_QueryTool_Result_Object

MDB_QueryTool_Result_Object class


Author(s):

Copyright:

  • 2004-2006 Roman Dostovalov

Methods


Inherited Variables

Inherited Methods

Class: MDB_QueryTool_Result

MDB_QueryTool_Result::MDB_QueryTool_Result()
create a new instance of result with the data returned by the query
MDB_QueryTool_Result::fetchRow()
This function emulates PEAR_MDB fetchRow() method.
MDB_QueryTool_Result::getCount()
return the number of rows returned
MDB_QueryTool_Result::getData()
get all the data returned
MDB_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
MDB_QueryTool_Result::getNext()
Get next result set. If getFirst() has never been called before, it calls that method.
MDB_QueryTool_Result::hasMore()
check if there are other rows
MDB_QueryTool_Result::numRows()
return the number of rows returned. This is an alias for getCount().

Class Details

[line 80]
MDB_QueryTool_Result_Object class


[ Top ]


Method Detail

fetchRow   [line 92]

void fetchRow( )

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

Overrides MDB_QueryTool_Result::fetchRow() (This function emulates PEAR_MDB fetchRow() method.)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:35:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.