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; }
public static function GetObjectFromSoapObject($objSoapObject) { $objToReturn = new FormQuestion(); 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, 'OrderNumber')) { $objToReturn->intOrderNumber = $objSoapObject->OrderNumber; } if (property_exists($objSoapObject, 'FormQuestionTypeId')) { $objToReturn->intFormQuestionTypeId = $objSoapObject->FormQuestionTypeId; } if (property_exists($objSoapObject, 'ShortDescription')) { $objToReturn->strShortDescription = $objSoapObject->ShortDescription; } if (property_exists($objSoapObject, 'Question')) { $objToReturn->strQuestion = $objSoapObject->Question; } if (property_exists($objSoapObject, 'RequiredFlag')) { $objToReturn->blnRequiredFlag = $objSoapObject->RequiredFlag; } if (property_exists($objSoapObject, 'InternalFlag')) { $objToReturn->blnInternalFlag = $objSoapObject->InternalFlag; } if (property_exists($objSoapObject, 'Options')) { $objToReturn->strOptions = $objSoapObject->Options; } if (property_exists($objSoapObject, 'AllowOtherFlag')) { $objToReturn->blnAllowOtherFlag = $objSoapObject->AllowOtherFlag; } if (property_exists($objSoapObject, 'ViewFlag')) { $objToReturn->blnViewFlag = $objSoapObject->ViewFlag; } if (property_exists($objSoapObject, '__blnRestored')) { $objToReturn->__blnRestored = $objSoapObject->__blnRestored; } return $objToReturn; }
public static function GetObjectFromSoapObject($objSoapObject) { $objToReturn = new EventSignupForm(); if (property_exists($objSoapObject, 'SignupForm') && $objSoapObject->SignupForm) { $objToReturn->SignupForm = SignupForm::GetObjectFromSoapObject($objSoapObject->SignupForm); } 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, 'Location')) { $objToReturn->strLocation = $objSoapObject->Location; } if (property_exists($objSoapObject, '__blnRestored')) { $objToReturn->__blnRestored = $objSoapObject->__blnRestored; } return $objToReturn; }
public static function GetArrayFromSoapArray($objSoapArray) { $objArrayToReturn = array(); foreach ($objSoapArray as $objSoapObject) { array_push($objArrayToReturn, SignupForm::GetObjectFromSoapObject($objSoapObject)); } return $objArrayToReturn; }
public static function GetObjectFromSoapObject($objSoapObject) { $objToReturn = new FormProduct(); 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, 'OrderNumber')) { $objToReturn->intOrderNumber = $objSoapObject->OrderNumber; } if (property_exists($objSoapObject, 'FormProductTypeId')) { $objToReturn->intFormProductTypeId = $objSoapObject->FormProductTypeId; } if (property_exists($objSoapObject, 'FormPaymentTypeId')) { $objToReturn->intFormPaymentTypeId = $objSoapObject->FormPaymentTypeId; } if (property_exists($objSoapObject, 'Name')) { $objToReturn->strName = $objSoapObject->Name; } if (property_exists($objSoapObject, 'Description')) { $objToReturn->strDescription = $objSoapObject->Description; } 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, 'MinimumQuantity')) { $objToReturn->intMinimumQuantity = $objSoapObject->MinimumQuantity; } if (property_exists($objSoapObject, 'MaximumQuantity')) { $objToReturn->intMaximumQuantity = $objSoapObject->MaximumQuantity; } if (property_exists($objSoapObject, 'Cost')) { $objToReturn->fltCost = $objSoapObject->Cost; } if (property_exists($objSoapObject, 'Deposit')) { $objToReturn->fltDeposit = $objSoapObject->Deposit; } if (property_exists($objSoapObject, 'ViewFlag')) { $objToReturn->blnViewFlag = $objSoapObject->ViewFlag; } if (property_exists($objSoapObject, '__blnRestored')) { $objToReturn->__blnRestored = $objSoapObject->__blnRestored; } return $objToReturn; }
public static function GetObjectFromSoapObject($objSoapObject) { $objToReturn = new ClassMeeting(); if (property_exists($objSoapObject, 'SignupForm') && $objSoapObject->SignupForm) { $objToReturn->SignupForm = SignupForm::GetObjectFromSoapObject($objSoapObject->SignupForm); } if (property_exists($objSoapObject, 'ClassTerm') && $objSoapObject->ClassTerm) { $objToReturn->ClassTerm = ClassTerm::GetObjectFromSoapObject($objSoapObject->ClassTerm); } if (property_exists($objSoapObject, 'ClassCourse') && $objSoapObject->ClassCourse) { $objToReturn->ClassCourse = ClassCourse::GetObjectFromSoapObject($objSoapObject->ClassCourse); } if (property_exists($objSoapObject, 'ClassInstructor') && $objSoapObject->ClassInstructor) { $objToReturn->ClassInstructor = ClassInstructor::GetObjectFromSoapObject($objSoapObject->ClassInstructor); } 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, 'Location')) { $objToReturn->strLocation = $objSoapObject->Location; } if (property_exists($objSoapObject, 'MeetingDay')) { $objToReturn->intMeetingDay = $objSoapObject->MeetingDay; } if (property_exists($objSoapObject, 'MeetingStartTime')) { $objToReturn->intMeetingStartTime = $objSoapObject->MeetingStartTime; } if (property_exists($objSoapObject, 'MeetingEndTime')) { $objToReturn->intMeetingEndTime = $objSoapObject->MeetingEndTime; } if (property_exists($objSoapObject, '__blnRestored')) { $objToReturn->__blnRestored = $objSoapObject->__blnRestored; } return $objToReturn; }