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

Class: MDB2_BufferedResult_xxx

Source Location: /MDB2-2.0.0beta2/docs/Driver_skeleton.php

Class Overview

MDB2_Result
   |
   --MDB2_Result_Common
      |
      --MDB2_Result_xxx
         |
         --MDB2_BufferedResult_xxx



Methods


Inherited Variables

Inherited Methods

Class: MDB2_Result_xxx

MDB2_Result_xxx::MDB2_Result_xxx()
Constructor
MDB2_Result_xxx::fetch()
fetch value from a result set
MDB2_Result_xxx::fetchRow()
Fetch a row and insert the data into an existing array.
MDB2_Result_xxx::free()
Free the internal resources associated with result.
MDB2_Result_xxx::getColumnNames()
Retrieve the names of columns returned by the DBMS in a query result.
MDB2_Result_xxx::nextResult()
Move the internal mysql result pointer to the next available result Currently not supported
MDB2_Result_xxx::numCols()
Count the number of columns returned by the DBMS in a query result.
MDB2_Result_xxx::resultIsNull()
Determine whether the value of a query result located in given row and field is a null.

Class: MDB2_Result_Common

MDB2_Result_Common::MDB2_Result_Common()
Constructor
MDB2_Result_Common::fetch()
fetch value from a result set
MDB2_Result_Common::fetchAll()
Fetch and return a column of data (it uses fetchRow for that)
MDB2_Result_Common::fetchCol()
Fetch and return a column of data (it uses current for that)
MDB2_Result_Common::fetchRow()
Fetch and return a row of data
MDB2_Result_Common::free()
Free the internal resources associated with result.
MDB2_Result_Common::getColumnNames()
Retrieve the names of columns returned by the DBMS in a query result.
MDB2_Result_Common::getResource()
return the resource associated with the result object
MDB2_Result_Common::nextResult()
Move the internal result pointer to the next available result
MDB2_Result_Common::numCols()
Count the number of columns returned by the DBMS in a query result.
MDB2_Result_Common::resultIsNull()
Determine whether the value of a query result located in given row and field is a null.
MDB2_Result_Common::seek()
seek to a specific row in a result set
MDB2_Result_Common::setResultTypes()
Define the list of types to be associated with the columns of a given result set.

Class Details

[line 483]


[ Top ]


Method Detail

MDB2_BufferedResult_xxx (Constructor)   [line 491]

MDB2_BufferedResult_xxx MDB2_BufferedResult_xxx( &$mdb, &$result)

Constructor

Parameters:

   &$mdb   — 
   &$result   — 

[ Top ]

numRows   [line 540]

mixed numRows( )

returns the number of rows in a result object
  • Return: MDB2 Error Object or the number of rows
  • Access: public

[ Top ]

seek   [line 506]

mixed seek( [int $rownum = 0])

seek to a specific row in a result set
  • Return: MDB2_OK on success, a MDB2 error on failure
  • Access: public

Overrides MDB2_Result_Common::seek() (seek to a specific row in a result set)

Parameters:

int   $rownum   —  number of the row where the data can be found

[ Top ]

valid   [line 522]

mixed valid( )

check if the end of the result set has been reached
  • Return: true or false on sucess, a MDB2 error on failure
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:15:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.