SoapServer::getFunctions
(no version information, might be only in CVS)
SoapServer::getFunctions --
定義済みの関数のリストを返す
説明
array
SoapServer::getFunctions ( void )
この関数は、
SoapServer::addFunction() または
SoapServer::setCalss() で追加された全ての関数のリストを
返します。
例 1. いくつかの例
<?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::SoapServer(),
SoapServer::addFunction(),
SoapServer::SetClass() も参照して下さい。