reference/gearman/gearmanclient/setworkloadcallback.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.setworkloadcallback" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>GearmanClient::setWorkloadCallback</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="GearmanClient">
13
12
<modifier>public</modifier> <type>bool</type><methodname>GearmanClient::setWorkloadCallback</methodname>
14
-
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
13
+
<methodparam><type>callable</type><parameter>function</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Sets a function to be called when a worker needs to send back data prior to job completion.
...
...
@@ -26,7 +25,7 @@
26
25
<para>
27
26
<variablelist>
28
27
<varlistentry>
29
-
<term><parameter>callback</parameter></term>
28
+
<term><parameter>function</parameter></term>
30
29
<listitem>
31
30
<para>
32
31
A function to call
...
...
@@ -60,7 +59,6 @@
60
59
</refsect1>
61
60

62
61
</refentry>
63
-

64
62
<!-- Keep this comment at the end of the file
65
63
Local variables:
66
64
mode: sgml
67
65