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