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

Class: MDB2_BufferedIterator

Source Location: /MDB2-2.5.0b5/MDB2/Iterator.php

Class Overview

MDB2_Iterator
   |
   --MDB2_BufferedIterator

PHP5 buffered Iterator


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: MDB2_Iterator

MDB2_Iterator::__construct()
Constructor
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
MDB2_Iterator::__destruct()
Destructor

Class Details

[line 211]
PHP5 buffered Iterator


[ Top ]


Method Detail

count   [line 238]

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

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

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 Mon, 11 Mar 2019 15:51:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.