reference/memcached/memcached/construct.xml
1d8068ecb070fdc360d750e0c1f3f15796e61ec0
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="memcached.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Memcached::__construct</refname>
...
...
@@ -9,14 +8,17 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<constructorsynopsis>
11
+
<constructorsynopsis role="Memcached">
13
12
<modifier>public</modifier> <methodname>Memcached::__construct</methodname>
14
-
<methodparam choice="opt"><type>string</type><parameter>persistent_id</parameter></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>persistent_id</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>callable</type><type>null</type></type><parameter>callback</parameter><initializer>&null;</initializer></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>connection_str</parameter><initializer>&null;</initializer></methodparam>
15
16
</constructorsynopsis>
16
17
<para>
17
18
Creates a Memcached instance representing the connection to the memcache
18
19
servers.
19
20
</para>
21
+
&warn.undocumented.func;
20
22
</refsect1>
21
23

22
24
<refsect1 role="parameters">
...
...
@@ -35,17 +37,26 @@
35
37
</para>
36
38
</listitem>
37
39
</varlistentry>
40
+
<varlistentry>
41
+
<term><parameter>callback</parameter></term>
42
+
<listitem>
43
+
<para>
44
+
<!-- TODO Document constructor params -->
45
+
</para>
46
+
</listitem>
47
+
</varlistentry>
48
+
<varlistentry>
49
+
<term><parameter>connection_str</parameter></term>
50
+
<listitem>
51
+
<para>
52
+
<!-- TODO Document constructor params -->
53
+
</para>
54
+
</listitem>
55
+
</varlistentry>
38
56
</variablelist>
39
57
</para>
40
58
</refsect1>
41
59

42
-
<refsect1 role="returnvalues">
43
-
&reftitle.returnvalues;
44
-
<para>
45
-
A Memcached object.
46
-
</para>
47
-
</refsect1>
48
-

49
60
<refsect1 role="examples">
50
61
&reftitle.examples;
51
62
<para>
...
...
@@ -71,7 +82,6 @@ $m3 = new Memcached('story_pool');
71
82
</refsect1>
72
83

73
84
</refentry>
74
-

75
85
<!-- Keep this comment at the end of the file
76
86
Local variables:
77
87
mode: sgml
78
88