From 700ad525989ed47b4f8558ace7a6ebd5a9a2957d Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Thu, 16 Aug 2012 18:14:04 +0400 Subject: [PATCH] Add comment PHP-doc methods in Redis class. --- redis/redis.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/redis/redis.php b/redis/redis.php index 8cc008f..a6bffbf 100644 --- a/redis/redis.php +++ b/redis/redis.php @@ -39,8 +39,13 @@ * * @method float zAdd() zAdd(string $key, float $score, string $value) Adds the specified member with a given score to the sorted set stored at key * @method array zRange() zRange(string $key, float $start, float $end, bool $with_scores = false) Returns a range of elements from the ordered set stored at the specified key, with values in the range [start, end] + * @method float zDelete() zDelete(string $key, string $value) Deletes a specified member from the ordered set. * @method array zRevRange() zRevRange(string $key, float $start, float $end, bool $with_scores = false) Returns a range of elements from the ordered set stored at the specified key, with values in the range [start, end] + * @method array zRangeByScore() zRangeByScore(string $key, float $start, float $end) Returns the elements of the sorted set stored at the specified key which have scores in the range [start,end]. Adding a parenthesis before start or end excludes it from the range. +inf and -inf are also valid limits. zRevRangeByScore returns the same items in reverse order, when the start and end parameters are swapped. + * @method int zRemRangeByScore() zRemRangeByScore(string $key, float $start, float $end) Deletes the elements of the sorted set stored at the specified key which have scores in the range [start,end]. + * @method int zRemRangeByRank() zRemRangeByRank(string $key, int $start, int $end) Deletes the elements of the sorted set stored at the specified key which have rank in the range [start,end]. * @method float zCard() zCard(string $key) Returns the cardinality of an ordered set + * @method float zScore() zScore(string $key, string $value) Returns the score of a given member in the specified sorted set. * @method float zUnionStore() zUnionStore(string $destination, array $keys, array $weights = array(), string $aggregate = 'sum') Creates an union of sorted sets given in second argument and store in in first argument * @method float zInterStore() zInterStore(string $destination, array $keys, array $weights = array(), string $aggregate = 'sum') Creates an intersection of sorted sets given in second argument and store in in first argument */