<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.evtimer.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'evtimer.set.php',
    1 => 'EvTimer::set',
    2 => 'Configures the watcher',
  ),
  'up' => 
  array (
    0 => 'class.evtimer.php',
    1 => 'EvTimer',
  ),
  'prev' => 
  array (
    0 => 'evtimer.createstopped.php',
    1 => 'EvTimer::createStopped',
  ),
  'next' => 
  array (
    0 => 'class.evwatcher.php',
    1 => 'EvWatcher',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ev/evtimer/set.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="evtimer.set" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EvTimer::set</h1>
  <p class="verinfo">(PECL ev &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">EvTimer::set</span> &mdash; <span class="dc-title">Configures the watcher</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-evtimer.set-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><strong>EvTimer::set</strong></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$after</code>
   </span>, <span class="methodparam">
    
    <span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$repeat</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="simpara">
   Configures the watcher
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-evtimer.set-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt>
     <code class="parameter">after</code>
    </dt>
    <dd>
     <span class="simpara">
      Configures the timer to trigger after
      <code class="parameter">after</code>
      seconds.
     </span>
    </dd>
   
   
    <dt>
     <code class="parameter">repeat</code>
    </dt>
    <dd>
     <span class="simpara">
      If repeat is
      <code class="literal">0.0</code>,
      then it will automatically be stopped once the timeout is reached. If
      it is positive, then the timer will automatically be configured to
      trigger again every repeat seconds later, until stopped manually.
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-evtimer.set-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   値を返しません。
  </p>
 </div>

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