public static function GetSoapArrayFromArray($objArray)
 {
     if (!$objArray) {
         return null;
     }
     $objArrayToReturn = array();
     foreach ($objArray as $objObject) {
         array_push($objArrayToReturn, OnlineDonation::GetSoapObjectFromObject($objObject, true));
     }
     return unserialize(serialize($objArrayToReturn));
 }
 public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects)
 {
     if ($objObject->objOnlineDonation) {
         $objObject->objOnlineDonation = OnlineDonation::GetSoapObjectFromObject($objObject->objOnlineDonation, false);
     } else {
         if (!$blnBindRelatedObjects) {
             $objObject->intOnlineDonationId = null;
         }
     }
     if ($objObject->objStewardshipFund) {
         $objObject->objStewardshipFund = StewardshipFund::GetSoapObjectFromObject($objObject->objStewardshipFund, false);
     } else {
         if (!$blnBindRelatedObjects) {
             $objObject->intStewardshipFundId = null;
         }
     }
     return $objObject;
 }