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