public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new ParentPagerAddress();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'ServerIdentifier')) {
         $objToReturn->intServerIdentifier = $objSoapObject->ServerIdentifier;
     }
     if (property_exists($objSoapObject, 'ParentPagerIndividual') && $objSoapObject->ParentPagerIndividual) {
         $objToReturn->ParentPagerIndividual = ParentPagerIndividual::GetObjectFromSoapObject($objSoapObject->ParentPagerIndividual);
     }
     if (property_exists($objSoapObject, 'ParentPagerHousehold') && $objSoapObject->ParentPagerHousehold) {
         $objToReturn->ParentPagerHousehold = ParentPagerHousehold::GetObjectFromSoapObject($objSoapObject->ParentPagerHousehold);
     }
     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, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new ParentPagerIndividual();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'ServerIdentifier')) {
         $objToReturn->intServerIdentifier = $objSoapObject->ServerIdentifier;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'HiddenFlag')) {
         $objToReturn->blnHiddenFlag = $objSoapObject->HiddenFlag;
     }
     if (property_exists($objSoapObject, 'ParentPagerSyncStatusTypeId')) {
         $objToReturn->intParentPagerSyncStatusTypeId = $objSoapObject->ParentPagerSyncStatusTypeId;
     }
     if (property_exists($objSoapObject, 'ParentPagerHousehold') && $objSoapObject->ParentPagerHousehold) {
         $objToReturn->ParentPagerHousehold = ParentPagerHousehold::GetObjectFromSoapObject($objSoapObject->ParentPagerHousehold);
     }
     if (property_exists($objSoapObject, 'FirstName')) {
         $objToReturn->strFirstName = $objSoapObject->FirstName;
     }
     if (property_exists($objSoapObject, 'MiddleName')) {
         $objToReturn->strMiddleName = $objSoapObject->MiddleName;
     }
     if (property_exists($objSoapObject, 'LastName')) {
         $objToReturn->strLastName = $objSoapObject->LastName;
     }
     if (property_exists($objSoapObject, 'Prefix')) {
         $objToReturn->strPrefix = $objSoapObject->Prefix;
     }
     if (property_exists($objSoapObject, 'Suffix')) {
         $objToReturn->strSuffix = $objSoapObject->Suffix;
     }
     if (property_exists($objSoapObject, 'Nickname')) {
         $objToReturn->strNickname = $objSoapObject->Nickname;
     }
     if (property_exists($objSoapObject, 'GraduationYear')) {
         $objToReturn->intGraduationYear = $objSoapObject->GraduationYear;
     }
     if (property_exists($objSoapObject, 'Gender')) {
         $objToReturn->strGender = $objSoapObject->Gender;
     }
     if (property_exists($objSoapObject, 'DateOfBirth')) {
         $objToReturn->dttDateOfBirth = new QDateTime($objSoapObject->DateOfBirth);
     }
     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, ParentPagerHousehold::GetObjectFromSoapObject($objSoapObject));
     }
     return $objArrayToReturn;
 }