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