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

Class: MDB2_BufferedIterator

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

Class Overview

MDB2_Iterator
   |
   --MDB2_BufferedIterator



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()
nothing, but Iterator wants to implement this.
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 195]


[ Top ]


Method Detail

count   [line 223]

mixed count( )

returns the number of rows in a result object
  • Return: MDB2 Error Object or the number of rows
  • Access: public

[ Top ]

hasPrev   [line 240]

mixed hasPrev( )

check if there is a previous row
  • Return: true or false on sucess, a MDB2 error on failure
  • Access: public

[ Top ]

prev   [line 272]

void prev( )

move internal row point to the previous row Fetch and return a row of data
  • Access: public

[ Top ]

rewind   [line 257]

mixed rewind( )

seek to the first row in a result set
  • Return: MDB2_OK on success, a MDB2 error on failure
  • Access: public

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

valid   [line 206]

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

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


Documentation generated on Mon, 11 Mar 2019 14:20:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.