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