public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objEmailMessage) { $objObject->objEmailMessage = EmailMessage::GetSoapObjectFromObject($objObject->objEmailMessage, false); } else { if (!$blnBindRelatedObjects) { $objObject->intEmailMessageId = null; } } if ($objObject->objGroup) { $objObject->objGroup = Group::GetSoapObjectFromObject($objObject->objGroup, false); } else { if (!$blnBindRelatedObjects) { $objObject->intGroupId = null; } } if ($objObject->objCommunicationList) { $objObject->objCommunicationList = CommunicationList::GetSoapObjectFromObject($objObject->objCommunicationList, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCommunicationListId = null; } } if ($objObject->objLogin) { $objObject->objLogin = Login::GetSoapObjectFromObject($objObject->objLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intLoginId = null; } } if ($objObject->objCommunicationListEntry) { $objObject->objCommunicationListEntry = CommunicationListEntry::GetSoapObjectFromObject($objObject->objCommunicationListEntry, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCommunicationListEntryId = null; } } if ($objObject->objPerson) { $objObject->objPerson = Person::GetSoapObjectFromObject($objObject->objPerson, false); } else { if (!$blnBindRelatedObjects) { $objObject->intPersonId = null; } } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objStewardshipBatch) { $objObject->objStewardshipBatch = StewardshipBatch::GetSoapObjectFromObject($objObject->objStewardshipBatch, false); } else { if (!$blnBindRelatedObjects) { $objObject->intStewardshipBatchId = null; } } if ($objObject->dttDatePosted) { $objObject->dttDatePosted = $objObject->dttDatePosted->__toString(QDateTime::FormatSoap); } if ($objObject->objCreatedByLogin) { $objObject->objCreatedByLogin = Login::GetSoapObjectFromObject($objObject->objCreatedByLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCreatedByLoginId = null; } } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objGroup) { $objObject->objGroup = Group::GetSoapObjectFromObject($objObject->objGroup, false); } else { if (!$blnBindRelatedObjects) { $objObject->intGroupId = null; } } if ($objObject->objLogin) { $objObject->objLogin = Login::GetSoapObjectFromObject($objObject->objLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intLoginId = null; } } if ($objObject->dttDateQueued) { $objObject->dttDateQueued = $objObject->dttDateQueued->__toString(QDateTime::FormatSoap); } if ($objObject->dttDateSent) { $objObject->dttDateSent = $objObject->dttDateSent->__toString(QDateTime::FormatSoap); } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objPerson) { $objObject->objPerson = Person::GetSoapObjectFromObject($objObject->objPerson, false); } else { if (!$blnBindRelatedObjects) { $objObject->intPersonId = null; } } if ($objObject->objPostedByLogin) { $objObject->objPostedByLogin = Login::GetSoapObjectFromObject($objObject->objPostedByLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intPostedByLoginId = null; } } if ($objObject->objCommentCategory) { $objObject->objCommentCategory = CommentCategory::GetSoapObjectFromObject($objObject->objCommentCategory, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCommentCategoryId = null; } } if ($objObject->dttDatePosted) { $objObject->dttDatePosted = $objObject->dttDatePosted->__toString(QDateTime::FormatSoap); } if ($objObject->dttDateAction) { $objObject->dttDateAction = $objObject->dttDateAction->__toString(QDateTime::FormatSoap); } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objLogin) { $objObject->objLogin = Login::GetSoapObjectFromObject($objObject->objLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intLoginId = null; } } return $objObject; }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->dttDateEntered) { $objObject->dttDateEntered = $objObject->dttDateEntered->__toString(QDateTime::FormatSoap); } if ($objObject->dttDateCredited) { $objObject->dttDateCredited = $objObject->dttDateCredited->__toString(QDateTime::FormatSoap); } if ($objObject->objCreatedByLogin) { $objObject->objCreatedByLogin = Login::GetSoapObjectFromObject($objObject->objCreatedByLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCreatedByLoginId = null; } } return $objObject; }
public static function GetSoapArrayFromArray($objArray) { if (!$objArray) { return null; } $objArrayToReturn = array(); foreach ($objArray as $objObject) { array_push($objArrayToReturn, Login::GetSoapObjectFromObject($objObject, true)); } return unserialize(serialize($objArrayToReturn)); }
public static function GetSoapObjectFromObject($objObject, $blnBindRelatedObjects) { if ($objObject->objPerson) { $objObject->objPerson = Person::GetSoapObjectFromObject($objObject->objPerson, false); } else { if (!$blnBindRelatedObjects) { $objObject->intPersonId = null; } } if ($objObject->objStewardshipBatch) { $objObject->objStewardshipBatch = StewardshipBatch::GetSoapObjectFromObject($objObject->objStewardshipBatch, false); } else { if (!$blnBindRelatedObjects) { $objObject->intStewardshipBatchId = null; } } if ($objObject->objStewardshipStack) { $objObject->objStewardshipStack = StewardshipStack::GetSoapObjectFromObject($objObject->objStewardshipStack, false); } else { if (!$blnBindRelatedObjects) { $objObject->intStewardshipStackId = null; } } if ($objObject->objCheckingAccountLookup) { $objObject->objCheckingAccountLookup = CheckingAccountLookup::GetSoapObjectFromObject($objObject->objCheckingAccountLookup, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCheckingAccountLookupId = null; } } if ($objObject->dttDateEntered) { $objObject->dttDateEntered = $objObject->dttDateEntered->__toString(QDateTime::FormatSoap); } if ($objObject->dttDateCleared) { $objObject->dttDateCleared = $objObject->dttDateCleared->__toString(QDateTime::FormatSoap); } if ($objObject->dttDateCredited) { $objObject->dttDateCredited = $objObject->dttDateCredited->__toString(QDateTime::FormatSoap); } if ($objObject->objCreatedByLogin) { $objObject->objCreatedByLogin = Login::GetSoapObjectFromObject($objObject->objCreatedByLogin, false); } else { if (!$blnBindRelatedObjects) { $objObject->intCreatedByLoginId = null; } } return $objObject; }