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

Verlauf / Chronik / History: (1) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

The TokyoTyrantTable class

<<TokyoTyrantTable::get

TokyoTyrantTable::getQuery>>

TokyoTyrantTable::getIterator

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

TokyoTyrantTable::getIterator — Get an iterator

Beschreibung

public TokyoTyrantIterator TokyoTyrantTable::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 TokyoTyrantTable::getIterator() example

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

foreach (
$it as $k => $v) {
  
var_dump($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",...)