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