reference/memcached/memcached/getmulti.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.getmulti" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Memcached::getMulti</refname>
...
...
@@ -9,10 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>mixed</type><methodname>Memcached::getMulti</methodname>
11
+
<methodsynopsis role="Memcached">
12
+
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>Memcached::getMulti</methodname>
14
13
<methodparam><type>array</type><parameter>keys</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
14
+
<methodparam choice="opt"><type>int</type><parameter>get_flags</parameter><initializer>0</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
<function>Memcached::getMulti</function> is similar to
...
...
@@ -25,12 +24,12 @@
25
24
It was filled with the CAS token values for the found items.
26
25
The <parameter role="reference">cas_tokens</parameter> parameter was removed in v3.0 of the extension.
27
26
It was replaced with a new flag <constant>Memcached::GET_EXTENDED</constant>
28
-
that needs is to be used as the value for <parameter>flags</parameter>.
27
+
that needs is to be used as the value for <parameter>get_flags</parameter>.
29
28
</para>
30
29
</note>
31
30
</para>
32
31
<para>
33
-
The <parameter>flags</parameter> parameter can be used to specify
32
+
The <parameter>get_flags</parameter> parameter can be used to specify
34
33
additional options for <function>Memcached::getMulti</function>.
35
34
<constant>Memcached::GET_PRESERVE_ORDER</constant> ensures that the
36
35
keys are returned in the same order as they were requested in.
...
...
@@ -52,7 +51,7 @@
52
51
</listitem>
53
52
</varlistentry>
54
53
<varlistentry>
55
-
<term><parameter>flags</parameter></term>
54
+
<term><parameter>get_flags</parameter></term>
56
55
<listitem>
57
56
<para>
58
57
The flags for the get operation.
...
...
@@ -71,6 +70,29 @@
71
70
</para>
72
71
</refsect1>
73
72

73
+
<refsect1 role="changelog">
74
+
&reftitle.changelog;
75
+
<informaltable>
76
+
<tgroup cols="2">
77
+
<thead>
78
+
<row>
79
+
<entry>&Version;</entry>
80
+
<entry>&Description;</entry>
81
+
</row>
82
+
</thead>
83
+
<tbody>
84
+
<row>
85
+
<entry>PECL memcached 3.0.0</entry>
86
+
<entry>
87
+
The <parameter role="reference">cas_tokens</parameter> parameter was removed.
88
+
The <constant>Memcached::GET_EXTENDED</constant> was added and when passed as a flag it ensures the CAS tokens to be fetched.
89
+
</entry>
90
+
</row>
91
+
</tbody>
92
+
</tgroup>
93
+
</informaltable>
94
+
</refsect1>
95
+

74
96
<refsect1 role="examples">
75
97
&reftitle.examples;
76
98
<para>
...
...
@@ -243,29 +265,6 @@ zoo
243
265
</para>
244
266
</refsect1>
245
267

246
-
<refsect1 role="changelog">
247
-
&reftitle.changelog;
248
-
<informaltable>
249
-
<tgroup cols="2">
250
-
<thead>
251
-
<row>
252
-
<entry>&Version;</entry>
253
-
<entry>&Description;</entry>
254
-
</row>
255
-
</thead>
256
-
<tbody>
257
-
<row>
258
-
<entry>3.0.0</entry>
259
-
<entry>
260
-
The <parameter role="reference">cas_tokens</parameter> parameter was removed.
261
-
The <constant>Memcached::GET_EXTENDED</constant> was added and when passed as a flag it ensures the CAS tokens to be fetched.
262
-
</entry>
263
-
</row>
264
-
</tbody>
265
-
</tgroup>
266
-
</informaltable>
267
-
</refsect1>
268
-

269
268
<refsect1 role="seealso">
270
269
&reftitle.seealso;
271
270
<para>
...
...
@@ -278,7 +277,6 @@ zoo
278
277
</refsect1>
279
278

280
279
</refentry>
281
-

282
280
<!-- Keep this comment at the end of the file
283
281
Local variables:
284
282
mode: sgml
285
283