Skip to content

Commit

Permalink
Fixed getProductOverviewFields
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis van den Heerik committed Oct 18, 2019
1 parent addd2f8 commit edf3232
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Mplusqapiclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

class MplusQAPIclient
{
const CLIENT_VERSION = '1.26.0';
const WSDL_TTL = 300; // 5 min WSDL TTL
const CLIENT_VERSION = '1.26.1';
const WSDL_TTL = 300;

var $MIN_API_VERSION_MAJOR = 0;
var $MIN_API_VERSION_MINOR = 9;
Expand Down Expand Up @@ -5804,15 +5804,11 @@ public function parseGetProductOverviewResult($soapGetProductOverviewResult) {
//----------------------------------------------------------------------------
public function parseGetProductOverviewFieldsResult($soapGetProductOverviewFieldsResult) {
$productOverviewFields = array();
die(print_r($soapGetProductOverviewFieldsResult, true));

if(isset($soapGetProductOverviewResult->productOverview)) {
$productOverview = objectToArray($soapGetProductOverviewResult->productOverview);
}
if (isset($soapGetProductOverviewResult->productOverviewArticleList->productOverviewArticle)) {
$productOverview['productOverviewArticleList'] = objectToArray($soapGetProductOverviewResult->productOverviewArticleList->productOverviewArticle);
if (isset($soapGetProductOverviewFieldsResult->productOverviewFieldsList->productOverviewFields)) {
$productOverviewFields = objectToArray($soapGetProductOverviewFieldsResult->productOverviewFieldsList->productOverviewFields);
}
return $productOverview;
return $productOverviewFields;
} // END parseGetProductOverviewFieldsResult()


Expand Down

0 comments on commit edf3232

Please sign in to comment.