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

Class: MDB2_BufferedResult_oci8

Source Location: /MDB2_Driver_oci8-0.2.6/MDB2/Driver/oci8.php

Class Overview

MDB2_Result_Common
   |
   --MDB2_Result_oci8
      |
      --MDB2_BufferedResult_oci8

MDB2 OCI8 buffered result driver


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: MDB2_Result_oci8

MDB2_Result_oci8::fetchRow()
Fetch a row and insert the data into an existing array.
MDB2_Result_oci8::free()
Free the internal resources associated with $result.
MDB2_Result_oci8::numCols()
Count the number of columns returned by the DBMS in a query result.

Class Details

[line 983]
MDB2 OCI8 buffered result driver


[ Top ]


Class Variables

$buffer =

[line 985]


Type:   mixed


[ Top ]

$buffer_rownum =  - 1

[line 986]


Type:   mixed


[ Top ]



Method Detail

fetchRow   [line 1037]

int &fetchRow( [int $fetchmode = MDB2_FETCHMODE_DEFAULT], [int $rownum = null])

Fetch a row and insert the data into an existing array.
  • Return: data array on success, a MDB2 error on failure
  • Access: public

Overrides MDB2_Result_oci8::fetchRow() (Fetch a row and insert the data into an existing array.)

Parameters:

int   $fetchmode     how the array data should be indexed
int   $rownum     number of the row where the data can be found

[ Top ]

free   [line 1162]

boolean free( )

Free the internal resources associated with $result.
  • Return: true on success, false if $result is invalid
  • Access: public

Overrides MDB2_Result_oci8::free() (Free the internal resources associated with $result.)
[ Top ]

numRows   [line 1141]

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

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

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 ]

_fillBuffer   [line 998]

boolean _fillBuffer( [int $rownum = null])

Fill the row buffer
  • Return: true on success, false on failure
  • Access: protected

Parameters:

int   $rownum     row number upto which the buffer should be filled

[ Top ]


Documentation generated on Sun, 14 May 2006 02:35:12 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.