SoapServer::getFunctions
定義されている関数の一覧を返す
&reftitle.description;
public arraySoapServer::getFunctions
SoapServer オブジェクトで定義されている関数の一覧を返します。
このメソッドは、
SoapServer::addFunction もしくは
SoapServer::setClass
で追加された全ての関数の一覧を返します。
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
定義されている関数の配列を返します。
&reftitle.examples;
SoapServer::getFunctions の例
"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";
}
}
?>
]]>
&reftitle.seealso;
SoapServer::__construct
SoapServer::addFunction
SoapServer::setClass