Forums / Extensions / eZ Find / Which ezfind function to use in php ?

Which ezfind function to use in php ?

Author Message

H-Works Agency

Thursday 10 March 2011 6:43:47 am

Hello,

I need to make a ezfind search in php.

What function do i have to use ?

For now i used :

$solrSearch = new eZSolr();
$solrSearch->search( $query, $params );

But it can't search multiple language.

What is the good way to handle that ?

EZP is Great

H-Works Agency

Thursday 10 March 2011 8:42:37 am

Uhm you have to set SiteLanguageList ....

EZP is Great

Hamdi Laadhari

Thursday 10 March 2011 8:51:02 am

eZFunctionHandler::execute('ezfind', search, array()) in PHP equals to fetch(ezfind, search, hash()) in template

And hworks is right, the results follows your siteaccess RegionalSettings configuration

Certified eZ Publish Entreprise 4.5
http://www.laadhari.fr