From dc5be4ec88dcc07fa03c196cf63b971c0b7a5862 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Sun, 25 Dec 2005 22:33:24 +0000 Subject: [PATCH] add more param descriptions fix typos git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203660 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/memcache/functions/memcache-add.xml | 11 ++++++++++- reference/memcache/functions/memcache-addserver.xml | 4 ++-- reference/memcache/functions/memcache-connect.xml | 4 ++-- reference/memcache/functions/memcache-decrement.xml | 5 +++-- reference/memcache/functions/memcache-increment.xml | 5 +++-- reference/memcache/functions/memcache-pconnect.xml | 4 ++-- reference/memcache/functions/memcache-replace.xml | 13 +++++++++++-- reference/memcache/functions/memcache-set.xml | 13 +++++++++++-- 8 files changed, 44 insertions(+), 15 deletions(-) diff --git a/reference/memcache/functions/memcache-add.xml b/reference/memcache/functions/memcache-add.xml index 198f9f1bd0..4ded59ec3c 100644 --- a/reference/memcache/functions/memcache-add.xml +++ b/reference/memcache/functions/memcache-add.xml @@ -1,5 +1,5 @@ - + Memcache::add @@ -33,6 +33,7 @@ key + The key that will be associated with the item. @@ -40,6 +41,8 @@ var + The variable to store. Strings and integers are stored as is, other + types are stored serialized. @@ -47,6 +50,8 @@ flag + Use MEMCACHE_COMPRESSED to store the item + compressed (uses zlib). @@ -54,6 +59,10 @@ expire + Expiration time of the item. If it's equal to zero, the item will never + expire. You can also use unix timestamp or a number of seconds starting + from current time, but in the latter case the number of seconds may not + exceed 2592000 (30 days). diff --git a/reference/memcache/functions/memcache-addserver.xml b/reference/memcache/functions/memcache-addserver.xml index 799e2c5fe9..4fd0e5e5bf 100644 --- a/reference/memcache/functions/memcache-addserver.xml +++ b/reference/memcache/functions/memcache-addserver.xml @@ -1,5 +1,5 @@ - + Memcache::addServer @@ -81,7 +81,7 @@ Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second - you can loose all - the advantages of caching if you connection is too slow. + the advantages of caching if your connection is too slow. diff --git a/reference/memcache/functions/memcache-connect.xml b/reference/memcache/functions/memcache-connect.xml index cb52fdb8b8..0e5d754601 100644 --- a/reference/memcache/functions/memcache-connect.xml +++ b/reference/memcache/functions/memcache-connect.xml @@ -1,5 +1,5 @@ - + Memcache::connect @@ -53,7 +53,7 @@ Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second - you can loose all - the advantages of caching if you connection is too slow. + the advantages of caching if your connection is too slow. diff --git a/reference/memcache/functions/memcache-decrement.xml b/reference/memcache/functions/memcache-decrement.xml index f84e8f8219..5ed33f2a17 100644 --- a/reference/memcache/functions/memcache-decrement.xml +++ b/reference/memcache/functions/memcache-decrement.xml @@ -1,5 +1,5 @@ - + Memcache::decrement @@ -47,6 +47,7 @@ key + Key of the item do decrement. @@ -54,7 +55,7 @@ value - Optionnal and default to 1. + Decrement the item by value. Optional and defaults to 1. diff --git a/reference/memcache/functions/memcache-increment.xml b/reference/memcache/functions/memcache-increment.xml index 3cba51e61e..2e50ece3e6 100644 --- a/reference/memcache/functions/memcache-increment.xml +++ b/reference/memcache/functions/memcache-increment.xml @@ -1,5 +1,5 @@ - + Memcache::increment @@ -41,6 +41,7 @@ key + Key of the item to increment. @@ -48,7 +49,7 @@ value - Optional and default to 1. + Increment the item by value. Optional and defaults to 1. diff --git a/reference/memcache/functions/memcache-pconnect.xml b/reference/memcache/functions/memcache-pconnect.xml index aae6808739..e5e066aba7 100644 --- a/reference/memcache/functions/memcache-pconnect.xml +++ b/reference/memcache/functions/memcache-pconnect.xml @@ -1,5 +1,5 @@ - + Memcache::pconnect @@ -52,7 +52,7 @@ Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second - you can loose all - the advantages of caching if you connection is too slow. + the advantages of caching if your connection is too slow. diff --git a/reference/memcache/functions/memcache-replace.xml b/reference/memcache/functions/memcache-replace.xml index 6eb4101f10..07e6f2f4e5 100644 --- a/reference/memcache/functions/memcache-replace.xml +++ b/reference/memcache/functions/memcache-replace.xml @@ -1,5 +1,5 @@ - + Memcache::replace @@ -35,6 +35,7 @@ key + The key that will be associated with the item. @@ -42,6 +43,8 @@ var + The variable to store. Strings and integers are stored as is, other + types are stored serialized. @@ -49,6 +52,8 @@ flag + Use MEMCACHE_COMPRESSED to store the item + compressed (uses zlib). @@ -56,13 +61,17 @@ expire + Expiration time of the item. If it's equal to zero, the item will never + expire. You can also use unix timestamp or a number of seconds starting + from current time, but in the latter case the number of seconds may not + exceed 2592000 (30 days). - + &reftitle.returnvalues; diff --git a/reference/memcache/functions/memcache-set.xml b/reference/memcache/functions/memcache-set.xml index 31c86dd8f8..355ae2b11f 100644 --- a/reference/memcache/functions/memcache-set.xml +++ b/reference/memcache/functions/memcache-set.xml @@ -1,5 +1,5 @@ - + Memcache::set @@ -46,6 +46,7 @@ key + The key that will be associated with the item. @@ -53,6 +54,8 @@ var + The variable to store. Strings and integers are stored as is, other + types are stored serialized. @@ -60,6 +63,8 @@ flag + Use MEMCACHE_COMPRESSED to store the item + compressed (uses zlib). @@ -67,13 +72,17 @@ expire + Expiration time of the item. If it's equal to zero, the item will never + expire. You can also use unix timestamp or a number of seconds starting + from current time, but in the latter case the number of seconds may not + exceed 2592000 (30 days). - + &reftitle.returnvalues;