<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gearmanjob.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'gearmanjob.fail.php',
    1 => 'GearmanJob::fail',
    2 => 'Send fail status (deprecated)',
  ),
  'up' => 
  array (
    0 => 'class.gearmanjob.php',
    1 => 'GearmanJob',
  ),
  'prev' => 
  array (
    0 => 'gearmanjob.exception.php',
    1 => 'GearmanJob::exception',
  ),
  'next' => 
  array (
    0 => 'gearmanjob.functionname.php',
    1 => 'GearmanJob::functionName',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gearman/gearmanjob/fail.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gearmanjob.fail" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GearmanJob::fail</h1>
  <p class="verinfo">(PECL gearman &lt;= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanJob::fail</span> &mdash; <span class="dc-title">Send fail status (deprecated)</span></p>

 </div>

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

  <p class="simpara">
   Sends failure status for this job, indicating that the job failed in a known way (as
   opposed to failing due to a thrown exception).
  </p>
  <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
   <span class="simpara">
    This method has been replaced by <span class="methodname"><a href="gearmanjob.sendfail.php" class="methodname">GearmanJob::sendFail()</a></span> in the
    0.6.0 release of the Gearman extension.
   </span>
  </p></blockquote>
 </div>


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


 <div class="refsect1 returnvalues" id="refsect1-gearmanjob.fail-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-gearmanjob.fail-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="gearmanjob.sendexception.php" class="methodname" rel="rdfs-seeAlso">GearmanJob::sendException()</a> - Send exception for running job (exception)</span></li>
   <li><span class="methodname"><a href="gearmanjob.setreturn.php" class="methodname" rel="rdfs-seeAlso">GearmanJob::setReturn()</a> - Set a return value</span></li>
   <li><span class="methodname"><a href="gearmanjob.sendstatus.php" class="methodname" rel="rdfs-seeAlso">GearmanJob::sendStatus()</a> - Send status</span></li>
   <li><span class="methodname"><a href="gearmanjob.sendwarning.php" class="methodname" rel="rdfs-seeAlso">GearmanJob::sendWarning()</a> - Send a warning</span></li>
  </ul>
 </div>


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