public static function GetSoapArrayFromArray($objArray)
 {
     if (!$objArray) {
         return null;
     }
     $objArrayToReturn = array();
     foreach ($objArray as $objObject) {
         array_push($objArrayToReturn, Articlecategory::GetSoapObjectFromObject($objObject, true));
     }
     return unserialize(serialize($objArrayToReturn));
 }
示例#2
0
 public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects)
 {
     if ($objObject->objProductGroupObject) {
         $objObject->objProductGroupObject = Articlecategory::GetSoapObjectFromObject($objObject->objProductGroupObject, false);
     } else {
         if (!$blnBindRelatedObjects) {
             $objObject->intProductGroup = null;
         }
     }
     return $objObject;
 }