api-library
api-library copied to clipboard
[Feature request] Search filters to be an array, instead of function arguments
Given this:
$contacts = $contactApi->getList($searchFilter, $start, $limit, $orderBy, $orderByDir, $publishedOnly, $minimal);
If I only want to set $limit, I have to fill in empty or NULL for all the other arguments.
Where as, if filters were an array, I can do something like this:
$filter['limit'] = 10; $contacts = $contactApi->getList($filter);
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.