reference/gearman/gearmanclient/addtaskstatus.xml
3c0b61c45a5dabe46865510311e57b77ea3dddb7
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="gearmanclient.addtaskstatus" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>GearmanClient::addTaskStatus</refname>
...
...
@@ -9,10 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>GearmanTask</type><methodname>GearmanClient::addTaskStatus</methodname>
11
+
<methodsynopsis role="GearmanClient">
12
+
<modifier>public</modifier> <type class="union"><type>GearmanTask</type><type>false</type></type><methodname>GearmanClient::addTaskStatus</methodname>
14
13
<methodparam><type>string</type><parameter>job_handle</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter role="reference">context</parameter></methodparam>
14
+
<methodparam choice="opt"><type>mixed</type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Used to request status information from the Gearman server, which will call the specified
...
...
@@ -47,7 +46,7 @@
47
46
<refsect1 role="returnvalues">
48
47
&reftitle.returnvalues;
49
48
<para>
50
-
A <classname>GearmanTask</classname> object.
49
+
A <classname>GearmanTask</classname> object or &false; on failure.
51
50
</para>
52
51
</refsect1>
53
52

...
...
@@ -144,7 +143,6 @@ Done: 2
144
143
</refsect1>
145
144

146
145
</refentry>
147
-

148
146
<!-- Keep this comment at the end of the file
149
147
Local variables:
150
148
mode: sgml
151
149