SoapHeader->__construct()とは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > SoapHeader->__construct()の意味・解説 

SoapHeader->__construct()

(No version information available, might be only in CVS)
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()のお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapHeader->__construct()のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS