TokyoTyrantIterator::__constructConstruct an iterator Description
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. ParametersThis function has no parameters. Return ValuesThrows an exception if iterator initialization fails. Examples
Example #1 TokyoTyrantIterator::__construct example
<?php The above example will output: array(2) { ["column1"]=> string(9) "some data" ["column2"]=> string(9) "more data" } See Also
|