Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 12591

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Issue SoapServer fault indicating an error</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="soapserver.construct.html">SoapServer::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="soapserver.getfunctions.html">SoapServer::getFunctions</a></div>
 <div class="up"><a href="class.soapserver.html">SoapServer</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="soapserver.fault" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SoapServer::fault</h1>
  <p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">SoapServer::fault</span> &mdash; <span class="dc-title">Issue SoapServer fault indicating an error</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-soapserver.fault-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SoapServer::fault</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$code</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$actor</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$details</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
  ]]] )</div>

  <p class="para rdfs-comment">
   Sends a response to the client of the current request indicating an error.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    This can only be called when handling a request.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-soapserver.fault-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">code</code></dt>

     <dd>

      <p class="para">
       The error code to return
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">string</code></dt>

     <dd>

      <p class="para">
       A brief description of the error
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">actor</code></dt>

     <dd>

      <p class="para">
       A string identifying the actor that caused the fault.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">details</code></dt>

     <dd>

      <p class="para">
       More details of the fault
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">name</code></dt>

     <dd>

      <p class="para">
       The name of the fault. This can be used to select a name from a WSDL file.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-soapserver.fault-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-soapserver.fault-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="soapfault.soapfault.html" class="methodname" rel="rdfs-seeAlso">SoapFault::SoapFault()</a> - SoapFault constructor</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="soapserver.construct.html">SoapServer::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="soapserver.getfunctions.html">SoapServer::getFunctions</a></div>
 <div class="up"><a href="class.soapserver.html">SoapServer</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>