array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'gearmantask.unique.php', 1 => 'GearmanTask::unique', 2 => 'Get the unique identifier for a task', ), 'up' => array ( 0 => 'class.gearmantask.php', 1 => 'GearmanTask', ), 'prev' => array ( 0 => 'gearmantask.tasknumerator.php', 1 => 'GearmanTask::taskNumerator', ), 'next' => array ( 0 => 'gearmantask.uuid.php', 1 => 'GearmanTask::uuid', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmantask/unique.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL gearman >= 0.6.0)
GearmanTask::unique — Get the unique identifier for a task
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.
У цієї функції немає параметрів.
The unique identifier, or false if no identifier is assigned.