Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • BaseStatement
  • Connection
  • Literal
  • Manager
  • Parser
  • Result
  • ResultIterator
  • Row
  • Statement

Interfaces

  • DriverInterface
  • ObservableInterface
  • ObserverInterface

Exceptions

  • DriverException
  • ImplementationException
  • NeevoException

Class ResultIterator

Result set iterator.

Neevo\ResultIterator implements Iterator, Countable, SeekableIterator
Namespace: Neevo
Author: Smasty
Located at Neevo/ResultIterator.php

Methods summary

public
# __construct( Neevo\Result $result )
public
# rewind( )

Rewinds the iterator. For future iterations seeks if possible, clones otherwise.

Rewinds the iterator. For future iterations seeks if possible, clones otherwise.

Implementation of

Iterator::rewind()
public
# next( )

Moves to next row.

Moves to next row.

Implementation of

Iterator::next()
public boolean
# valid( )

Checks for valid current row.

Checks for valid current row.

Returns

boolean

Implementation of

Iterator::valid()
public Neevo\Row
# current( )

Returns the current row.

Returns the current row.

Returns

Neevo\Row

Implementation of

Iterator::current()
public integer
# key( )

Returns the key of current row.

Returns the key of current row.

Returns

integer

Implementation of

Iterator::key()
public integer
# count( )

Implementation of Countable.

Implementation of Countable.

Returns

integer

Throws

Neevo\DriverException
on unbuffered result.

Implementation of

Countable::count()
public
# seek( integer $offset )

Implementation of SeekableIterator.

Implementation of SeekableIterator.

Parameters

$offset
integer
$offset

Throws

OutOfRangeException|Neevo\DriverException

Implementation of

SeekableIterator::seek()

Magic methods summary

Neevo Public API API documentation generated by ApiGen 2.8.0