mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-26 09:52:17 +01:00
98 lines
2.6 KiB
XML
98 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: e64ea89bbe0bd2cc28d48adfb3723f9ed5720fd1 Maintainer: dams Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<refentry xml:id="soapserver.getfunctions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>SoapServer::getFunctions</refname>
|
|
<refpurpose>Retourne la liste des fonctions définies</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<modifier>public</modifier> <type>array</type><methodname>SoapServer::getFunctions</methodname>
|
|
<void />
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>SoapServer::getFunctions</function> retourne la liste
|
|
de toutes les fonctions ajoutées à l'objet serveur <classname>SoapServer</classname>.
|
|
Elle retourne la liste de toutes les fonctions ajoutées à l'aide
|
|
des méthodes <function>SoapServer::addFunction</function> et
|
|
<function>SoapServer::setClass</function>.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
&no.function.parameters;
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Un &array; de toutes les fonctions.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title>Exemple avec <function>SoapServer::getFunctions</function></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 "Ce serveur SOAP peut gérer les fonctions suivantes : ";
|
|
$functions = $server->getFunctions();
|
|
foreach($functions as $func) {
|
|
echo $func . "\n";
|
|
}
|
|
}
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><methodname>SoapServer::__construct</methodname></member>
|
|
<member><methodname>SoapServer::addFunction</methodname></member>
|
|
<member><methodname>SoapServer::setClass</methodname></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:"~/.phpdoc/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
|
|
-->
|