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

search for in the

SwishResults->seekResult> <SwishResults->getRemovedStopwords
Last updated: Fri, 20 May 2011

view this page in

SwishResults->nextResult

(PECL swish >= 0.1.0)

SwishResults->nextResultGet the next search result

Descripción

object SwishResults->nextResult ( void )
Warning

Esta función ha sido declarada EXPERIMENTAL. Su comportamiento, su nombre y la documentación que le acompaña puede cambiar sin previo aviso en futuras versiones de PHP. Use esta función bajo su propio riesgo.

Valores devueltos

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

Ejemplos

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