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

Class: MDB2_Iterator

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

Class Overview




Author(s):

Methods


Child classes:

Inherited Variables

Inherited Methods


Class Details

[line 52]


[ Top ]


Method Detail

current   [line 111]

void current( )

return a row of data
  • Access: public

[ Top ]

free   [line 146]

bool|MDB2_Error free( )

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

[ Top ]

key   [line 165]

int|bool|MDB2_Error key( )

returns the row number
  • Return: true on success, false|MDB2_Error if result is invalid
  • Access: public

[ Top ]

next   [line 97]

void next( )

Fetch next row of data
  • Access: public

[ Top ]

rewind   [line 182]

void rewind( )

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

Overridden in child classes as:

MDB2_BufferedIterator::rewind()
seek to the first row in a result set

[ Top ]

seek   [line 80]

void seek( int $rownum)

seek forward to a specific row in a result set
  • Access: public

Parameters:

int   $rownum     number of the row where the data can be found

[ Top ]

valid   [line 132]

bool valid( )

check if the end of the result set has been reached
  • Return: true/false, false is also returned on failure
  • Access: public

Overridden in child classes as:

MDB2_BufferedIterator::valid()
check if the end of the result set has been reached

[ Top ]


Documentation generated on Fri, 13 Jan 2006 10:33:14 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.