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, 24 Jun 2011

view this page in

SwishResults->nextResult

(PECL swish >= 0.1.0)

SwishResults->nextResultدریافت نتیجه جستجوی بعدی

Description

object SwishResults->nextResult ( void )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Return Values

بازگرداندن شی SwishResult بعدی در مجموعه نتایج یا FALSE اگر نتیجه دیگری موجود نباشد.

Examples

Example #1 مثال اصلی SwishResults->nextResult()

<?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