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

search for in the

SwishResults->seekResult> <SwishResults->getRemovedStopwords
Last updated: Sun, 25 Nov 2007

view this page in

SwishResults->nextResult

(PECL swish:0.1-0.3.0)

SwishResults->nextResult — Get the next search result

Popis

object SwishResults->nextResult ( void )
Warning

Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.

Vrátené hodnoty

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

Príklady

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
There are no user contributed notes for this page.

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