<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.seaslog.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'seaslog.setrequestid.php',
    1 => 'SeasLog::setRequestID',
    2 => 'Set SeasLog request_id differentiated requests',
  ),
  'up' => 
  array (
    0 => 'class.seaslog.php',
    1 => 'SeasLog',
  ),
  'prev' => 
  array (
    0 => 'seaslog.setlogger.php',
    1 => 'SeasLog::setLogger',
  ),
  'next' => 
  array (
    0 => 'seaslog.setrequestvariable.php',
    1 => 'SeasLog::setRequestVariable',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/seaslog/seaslog/setrequestid.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="seaslog.setrequestid" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SeasLog::setRequestID</h1>
  <p class="verinfo">(PECL seaslog &gt;=1.0.0)</p><p class="refpurpose"><span class="refname">SeasLog::setRequestID</span> &mdash; <span class="dc-title">Set SeasLog request_id differentiated requests</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-seaslog.setrequestid-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>SeasLog::setRequestID</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$request_id</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
    To distinguish a single request, such as not invoking the
    <span class="methodname"><strong>SeasLog::setRequestId()</strong></span> function，
    the unique value generated by the built-in `static char *get_uniqid ()`
    function is used when the request is initialized.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-seaslog.setrequestid-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">request_id</code></dt>
    <dd>
     <span class="simpara">
      String.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-seaslog.setrequestid-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   Return TRUE on set request_id success, FALSE on failure.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-seaslog.setrequestid-examples">
  <h3 class="title">Beispiele</h3>
  <div class="example" id="example-1">
   <p><strong>Beispiel #1 <span class="function"><strong>SeasLog::setRequestID()</strong></span> example</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">SeasLog</span><span style="color: #007700">::</span><span style="color: #0000BB">setRequestID</span><span style="color: #007700">(</span><span style="color: #0000BB">time</span><span style="color: #007700">() . </span><span style="color: #0000BB">rand</span><span style="color: #007700">()));<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>Das oben gezeigte Beispiel erzeugt
eine ähnliche Ausgabe wie:</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">bool(true)</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-seaslog.setrequestid-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="seaslog.getrequestid.php" class="methodname" rel="rdfs-seeAlso">SeasLog::getRequestID()</a> - Get SeasLog request_id differentiated requests</span></li>
  </ul>
 </div>



</div><?php manual_footer($setup); ?>