<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gearmanclient.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'gearmanclient.runtasks.php',
    1 => 'GearmanClient::runTasks',
    2 => 'Run a list of tasks in parallel',
  ),
  'up' => 
  array (
    0 => 'class.gearmanclient.php',
    1 => 'GearmanClient',
  ),
  'prev' => 
  array (
    0 => 'gearmanclient.returncode.php',
    1 => 'GearmanClient::returnCode',
  ),
  'next' => 
  array (
    0 => 'gearmanclient.setclientcallback.php',
    1 => 'GearmanClient::setClientCallback',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gearman/gearmanclient/runtasks.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gearmanclient.runtasks" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GearmanClient::runTasks</h1>
  <p class="verinfo">(PECL gearman &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanClient::runTasks</span> &mdash; <span class="dc-title">Run a list of tasks in parallel</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gearmanclient.runtasks-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>GearmanClient::runTasks</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   For a set of tasks previously added with <span class="methodname"><a href="gearmanclient.addtask.php" class="methodname">GearmanClient::addTask()</a></span>,
   <span class="methodname"><a href="gearmanclient.addtaskhigh.php" class="methodname">GearmanClient::addTaskHigh()</a></span>, <span class="methodname"><a href="gearmanclient.addtasklow.php" class="methodname">GearmanClient::addTaskLow()</a></span>,
   <span class="methodname"><a href="gearmanclient.addtaskbackground.php" class="methodname">GearmanClient::addTaskBackground()</a></span>, <span class="methodname"><a href="gearmanclient.addtaskhighbackground.php" class="methodname">GearmanClient::addTaskHighBackground()</a></span>, or
   <span class="methodname"><a href="gearmanclient.addtasklowbackground.php" class="methodname">GearmanClient::addTaskLowBackground()</a></span>, this call starts running the tasks
   in parallel.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-gearmanclient.runtasks-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">Diese Funktion besitzt keine Parameter.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gearmanclient.runtasks-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   Gibt bei Erfolg <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück. Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-gearmanclient.runtasks-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="gearmanclient.addtask.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::addTask()</a> - Add a task to be run in parallel</span></li>
  </ul>
 </div>


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