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