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