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

Class: MDB2_BufferedIterator

Source Location: /MDB2-2.0.0RC5/MDB2/Iterator.php

Class Overview

MDB2_Iterator
   |
   --MDB2_BufferedIterator



Author(s):

Methods


Inherited Variables

Inherited Methods

Class: MDB2_Iterator

MDB2_Iterator::current()
return a row of data
MDB2_Iterator::free()
Free the internal resources associated with result.
MDB2_Iterator::key()
returns the row number
MDB2_Iterator::next()
Fetch next row of data
MDB2_Iterator::rewind()
seek to the first row in a result set
MDB2_Iterator::seek()
seek forward to a specific row in a result set
MDB2_Iterator::valid()
check if the end of the result set has been reached

Class Details

[line 199]


[ Top ]


Method Detail

count   [line 226]

int|MDB2_Error count( )

returns the number of rows in a result object
  • Return: number of rows, false|MDB2_Error if result is invalid
  • Access: public

[ Top ]

rewind   [line 243]

void rewind( )

seek to the first row in a result set
  • Access: public

Overrides MDB2_Iterator::rewind() (seek to the first row in a result set)
[ Top ]

valid   [line 209]

bool|MDB2_Error valid( )

check if the end of the result set has been reached
  • Return: true on success, false|MDB2_Error if result is invalid
  • Access: public

Overrides MDB2_Iterator::valid() (check if the end of the result set has been reached)
[ Top ]


Documentation generated on Sun, 05 Feb 2006 11:03:42 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.