<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Get the unique identifier for a task (deprecated)</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="gearmantask.unique.html">GearmanTask::unique</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.gearmanworker.html">GearmanWorker</a></div> <div class="up"><a href="class.gearmantask.html">GearmanTask</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="gearmantask.uuid" class="refentry"> <div class="refnamediv"> <h1 class="refname">GearmanTask::uuid</h1> <p class="verinfo">(PECL gearman <= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanTask::uuid</span> — <span class="dc-title">Get the unique identifier for a task (deprecated)</span></p> </div> <div class="refsect1 description" id="refsect1-gearmantask.uuid-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><strong>GearmanTask::uuid</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Returns the unique identifier for this task. This is assigned by the <a href="class.gearmanclient.html" class="classname">GearmanClient</a>, as opposed to the job handle which is set by the Gearman job server. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> This method has been replaced by <span class="methodname"><a href="gearmantask.unique.html" class="methodname">GearmanTask::unique()</a></span> in the 0.6.0 release of the Gearman extension. </p> </p></blockquote> </div> <div class="refsect1 parameters" id="refsect1-gearmantask.uuid-parameters"> <h3 class="title">Parameters</h3> <p class="para">This function has no parameters.</p> </div> <div class="refsect1 returnvalues" id="refsect1-gearmantask.uuid-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> The unique identifier, or <strong><code>FALSE</code></strong> if no identifier is assigned. </p> </div> <div class="refsect1 seealso" id="refsect1-gearmantask.uuid-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="gearmanclient.do.html" class="methodname" rel="rdfs-seeAlso">GearmanClient::do()</a> - Run a single task and return a result [deprecated]</span></li> <li class="member"> <span class="methodname"><a href="gearmanclient.addtask.html" class="methodname" rel="rdfs-seeAlso">GearmanClient::addTask()</a> - Add a task to be run in parallel</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="gearmantask.unique.html">GearmanTask::unique</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.gearmanworker.html">GearmanWorker</a></div> <div class="up"><a href="class.gearmantask.html">GearmanTask</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>