/** * Search for listings, sort and filter * pass in an array of options from the following: * sort, only, floor, ceiling, seller, buyer, bidder, item_id * @see https://intranet.gaiaonline.com/wiki/devs/souk#search_for_listings * @return array */ public function search($options) { // standardize the search options. makes it easer to manipulate. $options = Souk\Util::searchOptions($options); return $this->storage()->search($options); }