SoapHeader->__construct()
SoapHeader->__construct() — SoapHeader コンストラクタ
説明
class SoapHeader {__construct ( string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]] )
} 新規
SoapHeader
オブジェクトを生成します。
パラメータ
- namespace
-
SOAP ヘッダ要素の名前空間
- name
-
SOAP ヘッダ要素の名前
- data
-
SOAP ヘッダの内容。PHP の値もしくは
SoapVar
オブジェクトです。 - mustUnderstand
-
SOAP ヘッダ要素の mustUnderstand 属性の値
- actor
-
SOAP ヘッダ要素の actor 属性の値
例
例 2138. いくつかの例
<?php
$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"));
$client->__call("echoVoid", null, null,
new SoapHeader('http://soapinterop.org/echoheader/',
'echoMeStringRequest',
'hello world'));
?>
参考
SoapClient->__soapCall() |
SoapVar->__construct() |
SoapParam->__construct() |
Weblioに収録されているすべての辞書からSoapHeader->__construct()を検索する場合は、下記のリンクをクリックしてください。

- SoapHeader->__construct()のページへのリンク