mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-21 03:18:55 +00:00

# Changed filenames and ids to follow the other OO references # This also fix #30464 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176801 c90b9560-bf6c-de11-be94-00142212c4b1
88 lines
2.2 KiB
XML
88 lines
2.2 KiB
XML
<?xml version='1.0' encoding='iso-8859-1'?>
|
|
<!-- $Revision: 1.1 $ -->
|
|
<refentry id="function.soap-soapserver-getfunctions">
|
|
<refnamediv>
|
|
<refname>SoapServer->getFunctions()</refname>
|
|
<refpurpose>
|
|
Returns list of defined functions
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<classsynopsis>
|
|
<ooclass><classname>SoapServer</classname></ooclass>
|
|
<methodsynopsis>
|
|
<type>array</type>
|
|
<methodname>getFunctions</methodname>
|
|
<void />
|
|
</methodsynopsis>
|
|
</classsynopsis>
|
|
<para>
|
|
This method returns the list of all functions added by
|
|
<xref linkend="function.soap-soapserver-addfunction" /> or
|
|
<xref linkend="function.soap-soapserver-setclass" />.
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
The list of all functions.
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title>Some examples</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?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";
|
|
}
|
|
}
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><xref linkend="function.soap-soapserver-construct" /></member>
|
|
<member><xref linkend="function.soap-soapserver-addfunction" /></member>
|
|
<member><xref linkend="function.soap-soapserver-setclass" /></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|