Ignore:
Timestamp:
2011/10/31 13:54:41 (12 years ago)
Author:
kotani
Message:

#1521 (PEAR::SOAP 配布と異なる部分がある)

  • 新しいバージョンの配布ファイルを上書きすることで解決
  • →2.11.4には含めないため一旦コミットキャンセル

#1522 (PEAR::SOAP をバージョンアップ)

  • 0.11.0 -> 0.12.0
  • →2.11.4には含めないため一旦コミットキャンセル
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/module/SOAP/example/example_types.php

    r21299 r21304  
    1111 * it from your soap server class, echoStruct in the server class is an 
    1212 * example of doing this. 
    13  * 
    14  * @category Web Services 
    15  * @package  SOAP 
    1613 */ 
    1714class SOAPStruct 
     
    3330                        $actor = 'http://schemas.xmlsoap.org/soap/actor/next') 
    3431    { 
    35         $inner = array( 
    36             new SOAP_Value('varString', 'string', $this->varString), 
    37             new SOAP_Value('varInt', 'int', $this->varInt), 
    38             new SOAP_Value('varFloat', 'float', $this->varFloat)); 
     32        $inner[] = new SOAP_Value('varString', 'string', $this->varString); 
     33        $inner[] = new SOAP_Value('varInt', 'int', $this->varInt); 
     34        $inner[] = new SOAP_Value('varFloat', 'float', $this->varFloat); 
    3935 
    4036        if ($header) { 
    41             $value = new SOAP_Header($name, 
    42                                      '{http://soapinterop.org/xsd}SOAPStruct', 
    43                                      $inner, 
    44                                      $mustUnderstand, 
    45                                      $actor); 
     37            $value = new SOAP_Header($name,'{http://soapinterop.org/xsd}SOAPStruct',$inner,$mustUnderstand,$actor); 
    4638        } else { 
    47             $value = new SOAP_Value($name, 
    48                                     '{http://soapinterop.org/xsd}SOAPStruct', 
    49                                     $inner); 
     39            $value = new SOAP_Value($name,'{http://soapinterop.org/xsd}SOAPStruct',$inner); 
    5040        } 
    5141 
    5242        return $value; 
    5343    } 
    54  
    5544} 
Note: See TracChangeset for help on using the changeset viewer.