array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'gearmantask.uuid.php', 1 => 'GearmanTask::uuid', ), 'up' => array ( 0 => 'class.gearmantask.php', 1 => 'GearmanTask', ), 'prev' => array ( 0 => 'gearmantask.unique.php', 1 => 'GearmanTask::unique', ), 'next' => array ( 0 => 'class.gearmanworker.php', 1 => 'GearmanWorker', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmantask/uuid.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman <= 0.5.0)
GearmanTask::uuid — Get the unique identifier for a task (deprecated)
Returns the unique identifier for this task. This is assigned by the GearmanClient, as opposed to the job handle which is set by the Gearman job server.
Note:
This method has been replaced by GearmanTask::unique() in the 0.6.0 release of the Gearman extension.
This function has no parameters.
The unique identifier, or false
if no identifier is assigned.