/** * sample_GetCategory2CS::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetCategory2CSRequestType(); $req->setCategoryID($params['CategoryID']); $req->setDetailLevel($params['DetailLevel']); $res = $this->proxy->GetCategory2CS($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }