Amazon-ECS-PHP-Library icon indicating copy to clipboard operation
Amazon-ECS-PHP-Library copied to clipboard

Added searchWithParameters function

Open briankirsten opened this issue 13 years ago • 3 comments

Added a function which will allow you to search with all parameters available in the ItemSearchRequest call (Artist, Author, Title).

Usage: $requestArray = array();

$requestArray['Author'] = "Stephen King"; $requestArray['Title'] = "The Shining";

$ecsObj->searchWithParameters($requestArray);

briankirsten avatar Sep 17 '12 15:09 briankirsten

Thanks for your pull request. But putting this in a new function i think it is the wrong way.

Could you integrate this feature in the current search method? You can handle this by determining the type of the serach parameter.

If it is an array then do the new stuff else do the normal stuff.

Exeu avatar Sep 29 '12 08:09 Exeu

Removed the new function and modified the "search" function to accept an array of patterns.

briankirsten avatar Nov 01 '12 15:11 briankirsten

Integrated the feature with the current search method.

briankirsten avatar Jan 23 '13 02:01 briankirsten