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

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="Memcached">
13
12
<modifier>public</modifier> <type>bool</type><methodname>Memcached::casByKey</methodname>
14
-
<methodparam><type>float</type><parameter>cas_token</parameter></methodparam>
13
+
<methodparam><type class="union"><type>string</type><type>int</type><type>float</type></type><parameter>cas_token</parameter></methodparam>
15
14
<methodparam><type>string</type><parameter>server_key</parameter></methodparam>
16
15
<methodparam><type>string</type><parameter>key</parameter></methodparam>
17
16
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
18
-
<methodparam choice="opt"><type>int</type><parameter>expiration</parameter></methodparam>
17
+
<methodparam choice="opt"><type>int</type><parameter>expiration</parameter><initializer>0</initializer></methodparam>
19
18
</methodsynopsis>
20
19
<para>
21
20
<function>Memcached::casByKey</function> is functionally equivalent to
...
...
@@ -94,7 +93,6 @@
94
93
</refsect1>
95
94

96
95
</refentry>
97
-

98
96
<!-- Keep this comment at the end of the file
99
97
Local variables:
100
98
mode: sgml
101
99