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

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

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="GearmanWorker">
13
12
<modifier>public</modifier> <type>bool</type><methodname>GearmanWorker::register</methodname>
14
13
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam>
14
+
<methodparam choice="opt"><type>int</type><parameter>timeout</parameter><initializer>0</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Registers a function name with the job server with an optional timeout. The timeout
...
...
@@ -63,7 +62,6 @@
63
62
</refsect1>
64
63

65
64
</refentry>
66
-

67
65
<!-- Keep this comment at the end of the file
68
66
Local variables:
69
67
mode: sgml
70
68