/** * sample_GetCategoryListings::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetCategoryListingsRequestType(); $req->setCategoryID($params['CategoryID']); $res = $this->proxy->GetCategoryListings($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return GetCategoryListingsResponseType * @param GetCategoryListingsRequestType $request */ function GetCategoryListings($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('GetCategoryListings', $request); }