Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Nette
  • None
  • PHP

Classes

  • Neevo
  • NeevoBaseStmt
  • NeevoCacheFile
  • NeevoCacheMemcache
  • NeevoCacheMemory
  • NeevoCacheSession
  • NeevoConnection
  • NeevoDriverMySQL
  • NeevoDriverMySQLi
  • NeevoDriverPgSQL
  • NeevoDriverSQLite2
  • NeevoDriverSQLite3
  • NeevoLiteral
  • NeevoLoader
  • NeevoObserverMap
  • NeevoParser
  • NeevoResult
  • NeevoResultIterator
  • NeevoRow
  • NeevoStmt

Interfaces

  • INeevoCache
  • INeevoDriver
  • INeevoObservable
  • INeevoObserver

Exceptions

  • NeevoDriverException
  • NeevoException
  • NeevoImplementationException

Class NeevoResultIterator

Result set iterator.

NeevoResultIterator implements Iterator, Countable, SeekableIterator
Package: Neevo
License: MIT license
Author: Martin Srank
Located at neevo/NeevoResultIterator.php

Methods summary

public
# __construct( NeevoResult $result )
public
# rewind( )

Rewind the iterator. Force execution for future iterations.

Rewind the iterator. Force execution for future iterations.

Implementation of

Iterator::rewind()
public
# next( )

Move to next row.

Move to next row.

Implementation of

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

Check for valid current row.

Check for valid current row.

Returns

boolean

Implementation of

Iterator::valid()
public NeevoRow
# current( )

Return the current row.

Return the current row.

Returns

NeevoRow

Implementation of

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

Return the key of current row.

Return the key of current row.

Returns

integer

Implementation of

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

Implementation of Countable.

Implementation of Countable.

Returns

integer

Throws

NeevoDriverException
on unbuffered result.

Implementation of

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

Implementation of SeekableIterator.

Implementation of SeekableIterator.

Parameters

$offset
integer
$offset

Throws

OutOfRangeException|NeevoDriverException

Implementation of

SeekableIterator::seek()

Magic methods summary

Neevo Public API API documentation generated by ApiGen 2.8.0