downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SwishResults::seekResult> <SwishResults::getRemovedStopwords
[edit] Last updated: Fri, 17 May 2013

view this page in

SwishResults::nextResult

(PECL swish >= 0.1.0)

SwishResults::nextResultGet the next search result

Descrizione

object SwishResults::nextResult ( void )
Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

Valori restituiti

Returns the next SwishResult object in the result set or FALSE if there are no more results available.

Esempi

Example #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";
}

?>



add a note add a note User Contributed Notes SwishResults::nextResult - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites