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