Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.0

Request #5442 Services_Yahoo_Search_AbstractSearch->parameters probably shouldn't be an array
Submitted: 2005-09-17 19:06 UTC
From: jacobc at gmail dot com Assigned: mj
Status: Closed Package: Services_Yahoo
PHP Version: 5.0.4 OS: Linux
Roadmaps: (Not assigned)    

 [2005-09-17 19:06 UTC] jacobc at gmail dot com
Description: ------------ I could be completely wrong about this, but I think that the property Services_Yahoo_Search_AbstractSearch->parameters shouldn't be implemented as an associative array. This is because it doesn't seem possible to implement the Site, Subscription, and License request parameters supported by the Yahoo web search API, as these request parameter types allow multiple values to be submitted. See:


 [2005-09-30 18:02 UTC] mj
You're right about that. I've committed some proof-of-concept code to CVS that might solve this, but it'll need a bit more massaging.
 [2005-09-30 19:00 UTC] mj
This bug has been fixed. There is no documentation for this yet, but you can try it out by calling $search->setSites(array("", "")) $search->setLicenses(array("cc_commerical", "cc_modifiable")); before submitting your search with $search->submit().