SoapServer->getFunctions()とは? わかりやすく解説

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

SoapServer->getFunctions()

(PHP 5 >= 5.0.1)
SoapServer->getFunctions() — 定義されている関数の一覧を返す

説明

class SoapServer {
array getFunctions ( void )
} このメソッドは、 SoapServer->addFunction() もしくは SoapServer->setClass() で追加された全ての関数の一覧を返します。

返り値

全ての関数の一覧

例 2142. いくつかの例
<?php
$server = new SoapServer(NULL, array("uri" => "http://test-uri"));
$server->addFunction(SOAP_FUNCTIONS_ALL);
if ($_SERVER["REQUEST_METHOD"] == "POST") {
  $server->handle();
} else {
  echo "This SOAP server can handle following functions: ";
  $functions = $server->getFunctions();
  foreach($functions as $func) {
   echo $func . "\n";
  }
}
?>


参考

SoapServer->__construct()
SoapServer->addFunction()
SoapServer->setClass()




英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SoapServer->getFunctions()」の関連用語

SoapServer->getFunctions()のお隣キーワード
検索ランキング

   

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



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

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

©2024 GRAS Group, Inc.RSS