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

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>bool</type><methodname>Memcached::prependByKey</methodname>
11
+
<methodsynopsis role="Memcached">
12
+
<modifier>public</modifier> <type class="union"><type>bool</type><type>null</type></type><methodname>Memcached::prependByKey</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>string</type><parameter>value</parameter></methodparam>
...
...
@@ -59,8 +58,15 @@
59
58
&reftitle.returnvalues;
60
59
<para>
61
60
&return.success;
62
-
The <methodname>Memcached::getResultCode</methodname> will return
63
-
<constant>Memcached::RES_NOTSTORED</constant> if the key does not exist.
61
+
Returns &null; when compression is on.
62
+
</para>
63
+
</refsect1>
64
+

65
+
<refsect1 role="errors">
66
+
&reftitle.errors;
67
+
<para>
68
+
Returns &null; and raises an <constant>E_WARNING</constant> when
69
+
compression is enabled.
64
70
</para>
65
71
</refsect1>
66
72

...
...
@@ -75,7 +81,6 @@
75
81
</refsect1>
76
82

77
83
</refentry>
78
-

79
84
<!-- Keep this comment at the end of the file
80
85
Local variables:
81
86
mode: sgml
82
87