当前位置: 首页>>代码示例>>PHP>>正文


PHP Person::GetObjectFromSoapObject方法代码示例

本文整理汇总了PHP中Person::GetObjectFromSoapObject方法的典型用法代码示例。如果您正苦于以下问题:PHP Person::GetObjectFromSoapObject方法的具体用法?PHP Person::GetObjectFromSoapObject怎么用?PHP Person::GetObjectFromSoapObject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Person的用法示例。


在下文中一共展示了Person::GetObjectFromSoapObject方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new Address();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'AddressTypeId')) {
         $objToReturn->intAddressTypeId = $objSoapObject->AddressTypeId;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'Household') && $objSoapObject->Household) {
         $objToReturn->Household = Household::GetObjectFromSoapObject($objSoapObject->Household);
     }
     if (property_exists($objSoapObject, 'PrimaryPhone') && $objSoapObject->PrimaryPhone) {
         $objToReturn->PrimaryPhone = Phone::GetObjectFromSoapObject($objSoapObject->PrimaryPhone);
     }
     if (property_exists($objSoapObject, 'Address1')) {
         $objToReturn->strAddress1 = $objSoapObject->Address1;
     }
     if (property_exists($objSoapObject, 'Address2')) {
         $objToReturn->strAddress2 = $objSoapObject->Address2;
     }
     if (property_exists($objSoapObject, 'Address3')) {
         $objToReturn->strAddress3 = $objSoapObject->Address3;
     }
     if (property_exists($objSoapObject, 'City')) {
         $objToReturn->strCity = $objSoapObject->City;
     }
     if (property_exists($objSoapObject, 'State')) {
         $objToReturn->strState = $objSoapObject->State;
     }
     if (property_exists($objSoapObject, 'ZipCode')) {
         $objToReturn->strZipCode = $objSoapObject->ZipCode;
     }
     if (property_exists($objSoapObject, 'Country')) {
         $objToReturn->strCountry = $objSoapObject->Country;
     }
     if (property_exists($objSoapObject, 'CurrentFlag')) {
         $objToReturn->blnCurrentFlag = $objSoapObject->CurrentFlag;
     }
     if (property_exists($objSoapObject, 'InvalidFlag')) {
         $objToReturn->blnInvalidFlag = $objSoapObject->InvalidFlag;
     }
     if (property_exists($objSoapObject, 'VerificationCheckedFlag')) {
         $objToReturn->blnVerificationCheckedFlag = $objSoapObject->VerificationCheckedFlag;
     }
     if (property_exists($objSoapObject, 'DateUntilWhen')) {
         $objToReturn->dttDateUntilWhen = new QDateTime($objSoapObject->DateUntilWhen);
     }
     if (property_exists($objSoapObject, 'InternationalFlag')) {
         $objToReturn->blnInternationalFlag = $objSoapObject->InternationalFlag;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:59,代码来源:AddressGen.class.php

示例2: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new Package();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'PackageCategory') && $objSoapObject->PackageCategory) {
         $objToReturn->PackageCategory = PackageCategory::GetObjectFromSoapObject($objSoapObject->PackageCategory);
     }
     if (property_exists($objSoapObject, 'Token')) {
         $objToReturn->strToken = $objSoapObject->Token;
     }
     if (property_exists($objSoapObject, 'Name')) {
         $objToReturn->strName = $objSoapObject->Name;
     }
     if (property_exists($objSoapObject, 'Description')) {
         $objToReturn->strDescription = $objSoapObject->Description;
     }
     if (property_exists($objSoapObject, 'LastPostDate')) {
         $objToReturn->dttLastPostDate = new QDateTime($objSoapObject->LastPostDate);
     }
     if (property_exists($objSoapObject, 'LastPostedByPerson') && $objSoapObject->LastPostedByPerson) {
         $objToReturn->LastPostedByPerson = Person::GetObjectFromSoapObject($objSoapObject->LastPostedByPerson);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:qcodo,项目名称:qcodo-website,代码行数:29,代码来源:PackageGen.class.php

示例3: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new SignupEntry();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'SignupForm') && $objSoapObject->SignupForm) {
         $objToReturn->SignupForm = SignupForm::GetObjectFromSoapObject($objSoapObject->SignupForm);
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'SignupByPerson') && $objSoapObject->SignupByPerson) {
         $objToReturn->SignupByPerson = Person::GetObjectFromSoapObject($objSoapObject->SignupByPerson);
     }
     if (property_exists($objSoapObject, 'SignupEntryStatusTypeId')) {
         $objToReturn->intSignupEntryStatusTypeId = $objSoapObject->SignupEntryStatusTypeId;
     }
     if (property_exists($objSoapObject, 'DateCreated')) {
         $objToReturn->dttDateCreated = new QDateTime($objSoapObject->DateCreated);
     }
     if (property_exists($objSoapObject, 'DateSubmitted')) {
         $objToReturn->dttDateSubmitted = new QDateTime($objSoapObject->DateSubmitted);
     }
     if (property_exists($objSoapObject, 'AmountTotal')) {
         $objToReturn->fltAmountTotal = $objSoapObject->AmountTotal;
     }
     if (property_exists($objSoapObject, 'AmountPaid')) {
         $objToReturn->fltAmountPaid = $objSoapObject->AmountPaid;
     }
     if (property_exists($objSoapObject, 'AmountBalance')) {
         $objToReturn->fltAmountBalance = $objSoapObject->AmountBalance;
     }
     if (property_exists($objSoapObject, 'InternalNotes')) {
         $objToReturn->strInternalNotes = $objSoapObject->InternalNotes;
     }
     if (property_exists($objSoapObject, 'CommunicationsEntry') && $objSoapObject->CommunicationsEntry) {
         $objToReturn->CommunicationsEntry = CommunicationListEntry::GetObjectFromSoapObject($objSoapObject->CommunicationsEntry);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:44,代码来源:SignupEntryGen.class.php

示例4: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new ClassRegistration();
     if (property_exists($objSoapObject, 'SignupEntry') && $objSoapObject->SignupEntry) {
         $objToReturn->SignupEntry = SignupEntry::GetObjectFromSoapObject($objSoapObject->SignupEntry);
     }
     if (property_exists($objSoapObject, 'ClassMeeting') && $objSoapObject->ClassMeeting) {
         $objToReturn->ClassMeeting = ClassMeeting::GetObjectFromSoapObject($objSoapObject->ClassMeeting);
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'ClassGrade') && $objSoapObject->ClassGrade) {
         $objToReturn->ClassGrade = ClassGrade::GetObjectFromSoapObject($objSoapObject->ClassGrade);
     }
     if (property_exists($objSoapObject, 'ChildcareNotes')) {
         $objToReturn->strChildcareNotes = $objSoapObject->ChildcareNotes;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:23,代码来源:ClassRegistrationGen.class.php

示例5: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new Household();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Name')) {
         $objToReturn->strName = $objSoapObject->Name;
     }
     if (property_exists($objSoapObject, 'HeadPerson') && $objSoapObject->HeadPerson) {
         $objToReturn->HeadPerson = Person::GetObjectFromSoapObject($objSoapObject->HeadPerson);
     }
     if (property_exists($objSoapObject, 'CombinedStewardshipFlag')) {
         $objToReturn->blnCombinedStewardshipFlag = $objSoapObject->CombinedStewardshipFlag;
     }
     if (property_exists($objSoapObject, 'Members')) {
         $objToReturn->strMembers = $objSoapObject->Members;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:23,代码来源:HouseholdGen.class.php

示例6: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new StewardshipPostLineItem();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'StewardshipPost') && $objSoapObject->StewardshipPost) {
         $objToReturn->StewardshipPost = StewardshipPost::GetObjectFromSoapObject($objSoapObject->StewardshipPost);
     }
     if (property_exists($objSoapObject, 'StewardshipContribution') && $objSoapObject->StewardshipContribution) {
         $objToReturn->StewardshipContribution = StewardshipContribution::GetObjectFromSoapObject($objSoapObject->StewardshipContribution);
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'StewardshipFund') && $objSoapObject->StewardshipFund) {
         $objToReturn->StewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->StewardshipFund);
     }
     if (property_exists($objSoapObject, 'Description')) {
         $objToReturn->strDescription = $objSoapObject->Description;
     }
     if (property_exists($objSoapObject, 'Amount')) {
         $objToReturn->fltAmount = $objSoapObject->Amount;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:29,代码来源:StewardshipPostLineItemGen.class.php

示例7: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new Topic();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'TopicLink') && $objSoapObject->TopicLink) {
         $objToReturn->TopicLink = TopicLink::GetObjectFromSoapObject($objSoapObject->TopicLink);
     }
     if (property_exists($objSoapObject, 'Name')) {
         $objToReturn->strName = $objSoapObject->Name;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'LastPostDate')) {
         $objToReturn->dttLastPostDate = new QDateTime($objSoapObject->LastPostDate);
     }
     if (property_exists($objSoapObject, 'MessageCount')) {
         $objToReturn->intMessageCount = $objSoapObject->MessageCount;
     }
     if (property_exists($objSoapObject, 'ViewCount')) {
         $objToReturn->intViewCount = $objSoapObject->ViewCount;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:klucznik,项目名称:qcodo-website,代码行数:29,代码来源:TopicGen.class.php

示例8: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new OtherContactInfo();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'OtherContactMethod') && $objSoapObject->OtherContactMethod) {
         $objToReturn->OtherContactMethod = OtherContactMethod::GetObjectFromSoapObject($objSoapObject->OtherContactMethod);
     }
     if (property_exists($objSoapObject, 'Value')) {
         $objToReturn->strValue = $objSoapObject->Value;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:20,代码来源:OtherContactInfoGen.class.php

示例9: GetArrayFromSoapArray

 public static function GetArrayFromSoapArray($objSoapArray)
 {
     $objArrayToReturn = array();
     foreach ($objSoapArray as $objSoapObject) {
         array_push($objArrayToReturn, Person::GetObjectFromSoapObject($objSoapObject));
     }
     return $objArrayToReturn;
 }
开发者ID:qcodo,项目名称:qcodo-website,代码行数:8,代码来源:PersonGen.class.php

示例10: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new IssueVote();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Issue') && $objSoapObject->Issue) {
         $objToReturn->Issue = Issue::GetObjectFromSoapObject($objSoapObject->Issue);
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'VoteDate')) {
         $objToReturn->dttVoteDate = new QDateTime($objSoapObject->VoteDate);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:klucznik,项目名称:qcodo-website,代码行数:20,代码来源:IssueVoteGen.class.php

示例11: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new GroupParticipation();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'Group') && $objSoapObject->Group) {
         $objToReturn->Group = Group::GetObjectFromSoapObject($objSoapObject->Group);
     }
     if (property_exists($objSoapObject, 'GroupRole') && $objSoapObject->GroupRole) {
         $objToReturn->GroupRole = GroupRole::GetObjectFromSoapObject($objSoapObject->GroupRole);
     }
     if (property_exists($objSoapObject, 'DateStart')) {
         $objToReturn->dttDateStart = new QDateTime($objSoapObject->DateStart);
     }
     if (property_exists($objSoapObject, 'DateEnd')) {
         $objToReturn->dttDateEnd = new QDateTime($objSoapObject->DateEnd);
     }
     if (property_exists($objSoapObject, 'Status')) {
         $objToReturn->intStatus = $objSoapObject->Status;
     }
     if (property_exists($objSoapObject, 'DateFollowup')) {
         $objToReturn->dttDateFollowup = new QDateTime($objSoapObject->DateFollowup);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:32,代码来源:GroupParticipationGen.class.php

示例12: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new WikiVersion();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'WikiItem') && $objSoapObject->WikiItem) {
         $objToReturn->WikiItem = WikiItem::GetObjectFromSoapObject($objSoapObject->WikiItem);
     }
     if (property_exists($objSoapObject, 'VersionNumber')) {
         $objToReturn->intVersionNumber = $objSoapObject->VersionNumber;
     }
     if (property_exists($objSoapObject, 'Name')) {
         $objToReturn->strName = $objSoapObject->Name;
     }
     if (property_exists($objSoapObject, 'PostedByPerson') && $objSoapObject->PostedByPerson) {
         $objToReturn->PostedByPerson = Person::GetObjectFromSoapObject($objSoapObject->PostedByPerson);
     }
     if (property_exists($objSoapObject, 'PostDate')) {
         $objToReturn->dttPostDate = new QDateTime($objSoapObject->PostDate);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:qcodo,项目名称:qcodo-website,代码行数:26,代码来源:WikiVersionGen.class.php

示例13: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new AttributeValue();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Attribute') && $objSoapObject->Attribute) {
         $objToReturn->Attribute = Attribute::GetObjectFromSoapObject($objSoapObject->Attribute);
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'DateValue')) {
         $objToReturn->dttDateValue = new QDateTime($objSoapObject->DateValue);
     }
     if (property_exists($objSoapObject, 'DatetimeValue')) {
         $objToReturn->dttDatetimeValue = new QDateTime($objSoapObject->DatetimeValue);
     }
     if (property_exists($objSoapObject, 'TextValue')) {
         $objToReturn->strTextValue = $objSoapObject->TextValue;
     }
     if (property_exists($objSoapObject, 'BooleanValue')) {
         $objToReturn->blnBooleanValue = $objSoapObject->BooleanValue;
     }
     if (property_exists($objSoapObject, 'SingleAttributeOption') && $objSoapObject->SingleAttributeOption) {
         $objToReturn->SingleAttributeOption = AttributeOption::GetObjectFromSoapObject($objSoapObject->SingleAttributeOption);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:32,代码来源:AttributeValueGen.class.php

示例14: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new Issue();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'IssuePriorityTypeId')) {
         $objToReturn->intIssuePriorityTypeId = $objSoapObject->IssuePriorityTypeId;
     }
     if (property_exists($objSoapObject, 'IssueStatusTypeId')) {
         $objToReturn->intIssueStatusTypeId = $objSoapObject->IssueStatusTypeId;
     }
     if (property_exists($objSoapObject, 'IssueResolutionTypeId')) {
         $objToReturn->intIssueResolutionTypeId = $objSoapObject->IssueResolutionTypeId;
     }
     if (property_exists($objSoapObject, 'Title')) {
         $objToReturn->strTitle = $objSoapObject->Title;
     }
     if (property_exists($objSoapObject, 'ExampleCode')) {
         $objToReturn->strExampleCode = $objSoapObject->ExampleCode;
     }
     if (property_exists($objSoapObject, 'ExampleTemplate')) {
         $objToReturn->strExampleTemplate = $objSoapObject->ExampleTemplate;
     }
     if (property_exists($objSoapObject, 'ExampleData')) {
         $objToReturn->strExampleData = $objSoapObject->ExampleData;
     }
     if (property_exists($objSoapObject, 'ExpectedOutput')) {
         $objToReturn->strExpectedOutput = $objSoapObject->ExpectedOutput;
     }
     if (property_exists($objSoapObject, 'ActualOutput')) {
         $objToReturn->strActualOutput = $objSoapObject->ActualOutput;
     }
     if (property_exists($objSoapObject, 'PostedByPerson') && $objSoapObject->PostedByPerson) {
         $objToReturn->PostedByPerson = Person::GetObjectFromSoapObject($objSoapObject->PostedByPerson);
     }
     if (property_exists($objSoapObject, 'AssignedToPerson') && $objSoapObject->AssignedToPerson) {
         $objToReturn->AssignedToPerson = Person::GetObjectFromSoapObject($objSoapObject->AssignedToPerson);
     }
     if (property_exists($objSoapObject, 'PostDate')) {
         $objToReturn->dttPostDate = new QDateTime($objSoapObject->PostDate);
     }
     if (property_exists($objSoapObject, 'AssignedDate')) {
         $objToReturn->dttAssignedDate = new QDateTime($objSoapObject->AssignedDate);
     }
     if (property_exists($objSoapObject, 'DueDate')) {
         $objToReturn->dttDueDate = new QDateTime($objSoapObject->DueDate);
     }
     if (property_exists($objSoapObject, 'VoteCount')) {
         $objToReturn->intVoteCount = $objSoapObject->VoteCount;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:qcodo,项目名称:qcodo-website,代码行数:56,代码来源:IssueGen.class.php

示例15: GetObjectFromSoapObject

 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new HeadShot();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'DateUploaded')) {
         $objToReturn->dttDateUploaded = new QDateTime($objSoapObject->DateUploaded);
     }
     if (property_exists($objSoapObject, 'ImageTypeId')) {
         $objToReturn->intImageTypeId = $objSoapObject->ImageTypeId;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
开发者ID:alcf,项目名称:chms,代码行数:20,代码来源:HeadShotGen.class.php


注:本文中的Person::GetObjectFromSoapObject方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。