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

Class: MDB2_BufferedResult_mysqli

Source Location: /MDB2_Driver_mysqli-1.5.0b4/MDB2/Driver/mysqli.php

Class Overview

MDB2_Result_Common
   |
   --MDB2_Result_mysqli
      |
      --MDB2_BufferedResult_mysqli

MDB2 MySQLi buffered result driver


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: MDB2_Result_mysqli

MDB2_Result_mysqli::fetchRow()
Fetch a row and insert the data into an existing array.
MDB2_Result_mysqli::free()
Free the internal resources associated with result.
MDB2_Result_mysqli::nextResult()
Move the internal result pointer to the next available result
MDB2_Result_mysqli::numCols()
Count the number of columns returned by the DBMS in a query result.

Class Details

[line 1588]
MDB2 MySQLi buffered result driver


[ Top ]


Method Detail

nextResult   [line 1671]

true nextResult( a 0)

Move the internal result pointer to the next available result
  • Return: on success, false if there is no more result set or an error object on failure
  • Access: public

Overrides MDB2_Result_mysqli::nextResult() (Move the internal result pointer to the next available result)

Parameters:

a   0   —  valid result resource

[ Top ]

numRows   [line 1644]

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 1600]

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

Parameters:

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

[ Top ]

valid   [line 1626]

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 15:51:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.