mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Refpurposes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188352 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ac5ddde622
commit
69ef67351c
3 changed files with 13 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.soap-soapserver-fault">
|
||||
<refnamediv>
|
||||
<refname>SoapServer->fault()</refname>
|
||||
<refpurpose></refpurpose>
|
||||
<refpurpose>Issue SoapServer fault indicating an error</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.soap-soapserver-handle">
|
||||
<refnamediv>
|
||||
<refname>SoapServer->handle()</refname>
|
||||
|
@ -56,8 +56,15 @@ function test($x)
|
|||
return $x;
|
||||
}
|
||||
|
||||
// function can return SoapHeader object
|
||||
function echoMeStringResponse($string)
|
||||
{
|
||||
return new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringResponse', $string);
|
||||
}
|
||||
|
||||
$server = new SoapServer(null, array('uri' => "http://test-uri/"));
|
||||
$server->addFunction("test");
|
||||
$server->echoMeStringResponse("test");
|
||||
$server->handle();
|
||||
?>
|
||||
]]>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id="function.use-soap-error-handler">
|
||||
<refnamediv>
|
||||
<refname>use_soap_error_handler</refname>
|
||||
<refpurpose></refpurpose>
|
||||
<refpurpose>Set whether to use the SOAP error handler and return the former value</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>use_soap_error_handler</methodname>
|
||||
<type>bool</type><methodname>use_soap_error_handler</methodname>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>handler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.undocumented.func;
|
||||
|
|
Loading…
Reference in a new issue