public function toXMLString() { $str = ''; $str .= '<ns:DoNonReferencedCreditReq>'; if ($this->DoNonReferencedCreditRequest != NULL) { $str .= '<ns:DoNonReferencedCreditRequest>'; $str .= $this->DoNonReferencedCreditRequest->toXMLString(); $str .= '</ns:DoNonReferencedCreditRequest>'; } $str .= '</ns:DoNonReferencedCreditReq>'; return $str; }
public function toXMLString() { $str = ''; $str .= '<urn:DoNonReferencedCreditReq>'; if ($this->DoNonReferencedCreditRequest != null) { //prop is not a collection //prop is complex //prop is not enum //does not contain attribute or is attribute $str .= '<urn:DoNonReferencedCreditRequest>'; $str .= $this->DoNonReferencedCreditRequest->toXMLString(); $str .= '</urn:DoNonReferencedCreditRequest>'; } $str .= '</urn:DoNonReferencedCreditReq>'; return $str; }