array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'gearmantask.function.php', 1 => 'GearmanTask::function', ), 'up' => array ( 0 => 'class.gearmantask.php', 1 => 'GearmanTask', ), 'prev' => array ( 0 => 'gearmantask.datasize.php', 1 => 'GearmanTask::dataSize', ), 'next' => array ( 0 => 'gearmantask.functionname.php', 1 => 'GearmanTask::functionName', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmantask/function.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman <= 0.5.0)
GearmanTask::function — Get associated function name (deprecated)
Returns the name of the function this task is associated with, i.e., the function the Gearman worker calls.
Nota:
This method has been replaced by GearmanTask::functionName() in the 0.6.0 release of the Gearman extension.
Esta função não possui parâmetros.
A function name.