SwishResults->nextResult
(PECL swish >= 0.1.0)
SwishResults->nextResult — Get the next search result
Açıklama
object SwishResults->nextResult
( void
)
Uyarı
Bu işlev DENEYSELDİR. Bu işlevin davranışı, ismi ve belgeleri PHP'nin sonraki sürümlerinde hiçbir duyuru yapılmaksızın değiştirilebilir. Bu riski göze alamayacaksanız bu işlevi kullanmayın.
Dönen Değerler
Returns the next SwishResult object in the result set or FALSE if there are no more results available.
Örnekler
Örnek 1 Basic SwishResults->nextResult() example
<?php
try {
$swish = new Swish("index.swish-e");
$search = $swish->prepare();
$results = $search->execute("lost");
while($result = $results->nextResult()) {
/* do something with the result object */
}
} catch (SwishException $e) {
echo $e->getMessage(), "\n";
}
?>
SwishResults->nextResult
There are no user contributed notes for this page.
