TokyoTyrantIterator::__constructConstruct an iterator Beschreibung
public TokyoTyrantIterator::__construct
( mixed
$object
)
Construct a new TokyoTyrantIterator object. One connection can have multiple iterators but it is not quaranteed
that all items are traversed in that case. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteThrows an exception if iterator initialization fails. Beispiele
Beispiel #1 TokyoTyrantIterator::__construct example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(2) {
["column1"]=>
string(9) "some data"
["column2"]=>
string(9) "more data"
}
Siehe auch
|