ljackson09
24-12-09, 19:45
Hi All
i am trying to get the below code to work but since ive added sColumnToReturn in the parameters have i used it correctly???
$returnedcolumns = array(iId,iMerchantId,iAdult,sName,sAwDeepLink,sAw ThumbUrl,fPrice);
$oRefineBy = new stdClass();
$oRefineBy -> iId = 4;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = $AW_catid;
$oRefineByDefinition -> sName = $AW_cat;
$oRefineBy -> oRefineByDefinition = $oRefineByDefinition;
$aParams = array("sQuery" => "call of duty modern warefare 2", "sColumnToReturn" => $returnedcolumns, "bIncludeTree" => true, "oActiveRefineByGroup" => $oRefineBy);
$oResponse= $oClient->call('getProductList', $aParams);
$iTotalCount = $oResponse->iTotalCount; // get the total count before the next call
many thanks
and merry christmas all!!!!
Luke
i am trying to get the below code to work but since ive added sColumnToReturn in the parameters have i used it correctly???
$returnedcolumns = array(iId,iMerchantId,iAdult,sName,sAwDeepLink,sAw ThumbUrl,fPrice);
$oRefineBy = new stdClass();
$oRefineBy -> iId = 4;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = $AW_catid;
$oRefineByDefinition -> sName = $AW_cat;
$oRefineBy -> oRefineByDefinition = $oRefineByDefinition;
$aParams = array("sQuery" => "call of duty modern warefare 2", "sColumnToReturn" => $returnedcolumns, "bIncludeTree" => true, "oActiveRefineByGroup" => $oRefineBy);
$oResponse= $oClient->call('getProductList', $aParams);
$iTotalCount = $oResponse->iTotalCount; // get the total count before the next call
many thanks
and merry christmas all!!!!
Luke