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

Class: MDB2_BufferedResult_oci8

Source Location: /MDB2_Driver_oci8-1.5.0b4/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 1181]
MDB2 OCI8 buffered result driver


[ Top ]


Class Variables

$buffer =

[line 1183]


Type:   mixed


[ Top ]

$buffer_rownum =  - 1

[line 1184]


Type:   mixed


[ Top ]



Method Detail

fetchRow   [line 1246]

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

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

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

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

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

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 Tue, 23 Oct 2012 18:30:52 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.