public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objMinistry) { $objObject->objMinistry = Ministry::GetSoapObjectFromObject($objObject->objMinistry, false); } else { if (!$blnBindRelatedObjects) { $objObject->intMinistryId = null; } } if ($objObject->objDonationStewardshipFund) { $objObject->objDonationStewardshipFund = StewardshipFund::GetSoapObjectFromObject($objObject->objDonationStewardshipFund, false); } else { if (!$blnBindRelatedObjects) { $objObject->intDonationStewardshipFundId = null; } } if ($objObject->dttDateCreated) { $objObject->dttDateCreated = $objObject->dttDateCreated->__toString(QDateTime::FormatSoap); } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objMinistry) { $objObject->objMinistry = Ministry::GetSoapObjectFromObject($objObject->objMinistry, false); } else { if (!$blnBindRelatedObjects) { $objObject->intMinistryId = null; } } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objMinistry) { $objObject->objMinistry = Ministry::GetSoapObjectFromObject($objObject->objMinistry, false); } else { if (!$blnBindRelatedObjects) { $objObject->intMinistryId = null; } } if ($objObject->objParentGroup) { $objObject->objParentGroup = Group::GetSoapObjectFromObject($objObject->objParentGroup, false); } else { if (!$blnBindRelatedObjects) { $objObject->intParentGroupId = null; } } if ($objObject->objStatusObject) { $objObject->objStatusObject = AvailabilityStatus::GetSoapObjectFromObject($objObject->objStatusObject, false); } else { if (!$blnBindRelatedObjects) { $objObject->intStatus = null; } } return $objObject; }