<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'gearmanjob.status.php',
    1 => 'GearmanJob::status',
    2 => 'Send status (deprecated)',
  ),
  'up' => 
  array (
    0 => 'class.gearmanjob.php',
    1 => 'GearmanJob',
  ),
  'prev' => 
  array (
    0 => 'gearmanjob.setreturn.php',
    1 => 'GearmanJob::setReturn',
  ),
  'next' => 
  array (
    0 => 'gearmanjob.unique.php',
    1 => 'GearmanJob::unique',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gearman/gearmanjob/status.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

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

 </div>

 <div class="refsect1 description" id="refsect1-gearmanjob.status-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>GearmanJob::status</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$numerator</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$denominator</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   Sends status information to the job server and any listening clients.  Use this
   to specify what percentage of the job has been completed.
  </p>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <span class="simpara">
    This method has been replaced by <span class="methodname"><a href="gearmanjob.sendstatus.php" class="methodname">GearmanJob::sendStatus()</a></span> in the
    0.6.0 release of the Gearman extenstion.
   </span>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-gearmanjob.status-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">numerator</code></dt>
    <dd>
     <span class="simpara">
      The numerator of the precentage completed expressed as a fraction.
     </span>
    </dd>
   
   
    <dt><code class="parameter">denominator</code></dt>
    <dd>
     <span class="simpara">
      The denominator of the precentage completed expressed as a fraction.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gearmanjob.status-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="simpara">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-gearmanjob.status-seealso">
  <h3 class="title">Vedere anche:</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="gearmanclient.jobstatus.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::jobStatus()</a> - Get the status of a background job</span></li>
   <li><span class="methodname"><a href="gearmantask.taskdenominator.php" class="methodname" rel="rdfs-seeAlso">GearmanTask::taskDenominator()</a> - Get completion percentage denominator</span></li>
   <li><span class="methodname"><a href="gearmantask.tasknumerator.php" class="methodname" rel="rdfs-seeAlso">GearmanTask::taskNumerator()</a> - Get completion percentage numerator</span></li>
  </ul>
 </div>


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