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, 30 Oct 2009

view this page in

SwishResults->nextResult

(PECL swish >= 0.1.0)

SwishResults->nextResultGet the next search result

Beschreibung

object SwishResults->nextResult ( void )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

Rückgabewerte

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

Beispiele

Beispiel #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 | sitemap | contact | advertising | mirror sites