array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'gearmantask.functionname.php', 1 => 'GearmanTask::functionName', ), 'up' => array ( 0 => 'class.gearmantask.php', 1 => 'GearmanTask', ), 'prev' => array ( 0 => 'gearmantask.function.php', 1 => 'GearmanTask::function', ), 'next' => array ( 0 => 'gearmantask.isknown.php', 1 => 'GearmanTask::isKnown', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmantask/functionname.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.6.0)
GearmanTask::functionName — Get associated function name
Returns the name of the function this task is associated with, i.e., the function the Gearman worker calls.
Esta função não possui parâmetros.
A function name, or false
if the task has not yet been created.