downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SoapClient::__setCookie> <SoapClient::__getLastResponseHeaders
[edit] Last updated: Fri, 25 May 2012

view this page in

SoapClient::__getTypes

(PHP 5 >= 5.0.1)

SoapClient::__getTypesSOAP 型の一覧を返す

説明

public array SoapClient::__getTypes ( void )

ウェブサービスの WSDL で定義されている型の配列を返します。

注意:

この関数は WSDL モードでのみ動作します。

パラメータ

この関数にはパラメータはありません。

返り値

SOAP 型の配列を返します。すべての構造や型が含まれています。

例1 SoapClient::__getTypes() の例

<?php
$client 
= new SoapClient('http://soap.amazon.com/schemas3/AmazonWebServices.wsdl');
var_dump($client->__getTypes());
?>

上の例の出力は以下となります。

array(88) {
  [0]=>
  string(30) "ProductLine ProductLineArray[]"
  [1]=>
  string(85) "struct ProductLine {
 string Mode;
 string RelevanceRank;
 ProductInfo ProductInfo;
}"
  [2]=>
  string(105) "struct ProductInfo {
 string TotalResults;
 string TotalPages;
 string ListName;
 DetailsArray Details;
}"
...
  [85]=>
  string(32) "ShortSummary ShortSummaryArray[]"
  [86]=>
  string(121) "struct GetTransactionDetailsRequest {
 string tag;
 string devtag;
 string key;
 OrderIdArray OrderIds;
 string locale;
}"
  [87]=>
  string(75) "struct GetTransactionDetailsResponse {
 ShortSummaryArray ShortSummaries;
}"
}

参考



add a note add a note User Contributed Notes SoapClient::__getTypes
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites