PHP Doku:: Get an iterator - tokyotyrant.getiterator.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Datenbankerweiterungen ≥ Anbieterspezifische Datenbankerweiterungen ≥ tokyo_tyrant ≥ The TokyoTyrant class ≥ TokyoTyrant::getIterator

Ein Service von Reinhard Neidl - Webprogrammierung.

The TokyoTyrant class

<<TokyoTyrant::get

TokyoTyrant::num>>

TokyoTyrant::getIterator

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

TokyoTyrant::getIterator — Get an iterator

Beschreibung

public TokyoTyrantIterator TokyoTyrant::getIterator ( void )

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

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

This method returns TokyoTyrantIterator object and throws TokyoTyrantException on failure.

Beispiele

Beispiel #1 TokyoTyrant::getIterator() example

<?php
$tt 
= new TokyoTyrant("localhost");
$it = $tt->getIterator();

foreach (
$it as $k => $v) {

}
?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)