PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

TokyoTyrant::getIterator

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

TokyoTyrant::getIteratorGet an iterator

Description

public TokyoTyrantIterator TokyoTyrant::getIterator ( void )

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

Parameters

This function has no parameters.

Return Values

This method returns TokyoTyrantIterator object and throws TokyoTyrantException on failure.

Examples

Example #1 TokyoTyrant::getIterator example

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

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

}
?>

See Also

PHP Manual