コード例 #1
0
 public function toXMLString()
 {
     $str = '';
     $str .= '<ns:TransactionSearchReq>';
     if ($this->TransactionSearchRequest != NULL) {
         $str .= '<ns:TransactionSearchRequest>';
         $str .= $this->TransactionSearchRequest->toXMLString();
         $str .= '</ns:TransactionSearchRequest>';
     }
     $str .= '</ns:TransactionSearchReq>';
     return $str;
 }
コード例 #2
0
 public function toXMLString()
 {
     $str = '';
     $str .= '<urn:TransactionSearchReq>';
     if ($this->TransactionSearchRequest != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<urn:TransactionSearchRequest>';
         $str .= $this->TransactionSearchRequest->toXMLString();
         $str .= '</urn:TransactionSearchRequest>';
     }
     $str .= '</urn:TransactionSearchReq>';
     return $str;
 }