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