reference/memcached/memcached/setbykey.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.setbykey" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Memcached::setByKey</refname>
...
...
@@ -9,12 +8,12 @@
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::setByKey</methodname>
14
13
<methodparam><type>string</type><parameter>server_key</parameter></methodparam>
15
14
<methodparam><type>string</type><parameter>key</parameter></methodparam>
16
15
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
17
-
<methodparam choice="opt"><type>int</type><parameter>expiration</parameter></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>expiration</parameter><initializer>0</initializer></methodparam>
18
17
</methodsynopsis>
19
18
<para>
20
19
<function>Memcached::setByKey</function> is functionally equivalent to
...
...
@@ -104,7 +103,6 @@ $m->setByKey('api-cache', 'block-ip:169.127.127.202', 1);
104
103
</refsect1>
105
104

106
105
</refentry>
107
-

108
106
<!-- Keep this comment at the end of the file
109
107
Local variables:
110
108
mode: sgml
111
109