コード例 #1
0
ファイル: SignupFormGen.class.php プロジェクト: alcf/chms
 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;
 }
コード例 #2
0
 public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects)
 {
     if ($objObject->objMinistry) {
         $objObject->objMinistry = Ministry::GetSoapObjectFromObject($objObject->objMinistry, false);
     } else {
         if (!$blnBindRelatedObjects) {
             $objObject->intMinistryId = null;
         }
     }
     return $objObject;
 }
コード例 #3
0
ファイル: GroupGen.class.php プロジェクト: alcf/chms
 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;
 }