2009-02-16 21:27:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:54:10 +00:00
|
|
|
<!-- $Revision$ -->
|
2009-02-16 21:27:28 +00:00
|
|
|
|
|
|
|
<refentry xml:id="soapserver.getfunctions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2005-01-10 00:46:17 +00:00
|
|
|
<refnamediv>
|
2009-02-16 21:27:28 +00:00
|
|
|
<refname>SoapServer::getFunctions</refname>
|
|
|
|
<refpurpose>Returns list of defined functions</refpurpose>
|
2005-01-10 00:46:17 +00:00
|
|
|
</refnamediv>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2009-02-16 21:27:28 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<modifier>public</modifier> <type>array</type><methodname>SoapServer::getFunctions</methodname>
|
|
|
|
<void />
|
|
|
|
</methodsynopsis>
|
2005-01-10 00:46:17 +00:00
|
|
|
<para>
|
2009-02-16 21:27:28 +00:00
|
|
|
Returns a list of the defined functions in the SoapServer object.
|
2005-01-10 00:46:17 +00:00
|
|
|
This method returns the list of all functions added by
|
2009-02-16 21:27:28 +00:00
|
|
|
<methodname>SoapServer::addFunction</methodname> or
|
|
|
|
<methodname>SoapServer::setClass</methodname>.
|
2005-01-10 00:46:17 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
&no.function.parameters;
|
|
|
|
</refsect1>
|
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2009-02-16 21:27:28 +00:00
|
|
|
An <literal>array</literal> of the defined functions.
|
2005-01-10 00:46:17 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
|
|
|
<para>
|
|
|
|
<example>
|
2009-02-16 21:27:28 +00:00
|
|
|
<title><function>SoapServer::getFunctions</function> example</title>
|
2005-01-10 00:46:17 +00:00
|
|
|
<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>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
2009-02-16 21:27:28 +00:00
|
|
|
<member><methodname>SoapServer::SoapServer</methodname></member>
|
|
|
|
<member><methodname>SoapServer::addFunction</methodname></member>
|
|
|
|
<member><methodname>SoapServer::setClass</methodname></member>
|
2005-01-10 00:46:17 +00:00
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
</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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2005-01-10 00:46:17 +00:00
|
|
|
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
|
|
|
|
-->
|