TokyoTyrant::get
TokyoTyrant::num
TokyoTyrant
PHP Manual

# TokyoTyrant::getIterator

(No version information available, might only be in SVN)

TokyoTyrant::getIterator — Get an iterator

### Description

public TokyoTyrantIterator TokyoTyrant::getIterator ( void )

Gets an iterator for iterating all keys / values in the database.

### Liste de paramètres

Cette fonction ne contient aucun paramètre.

### Valeurs de retour

This method returns TokyoTyrantIterator object and throws TokyoTyrantException on failure.

### Exemples

Exemple #1 TokyoTyrant::getIterator example

`<?php
$tt = new TokyoTyrant("localhost");
$it = $tt->getIterator();
foreach ($it as $k => $v) {
}
?>`

### Voir aussi

- TokyoTyrantTable::getQuery - Get a query object
- TokyoTyrantTable::getIterator - Get an iterator

TokyoTyrant::get
TokyoTyrant::num
TokyoTyrant
PHP Manual