sAdd, sCard, sSize, sMembers, sGetMembers, sContains, sIsMember, sRem, sRemove

This commit is contained in:
Alexander Demidov
2013-06-21 13:26:31 +04:00
committed by Alexander Demidov
parent b2aced98d2
commit a029cc3c57

View File

@ -49,6 +49,15 @@
* @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
* @method int sAdd() sAdd(string $key, string $value) Adds a value to the set value stored at key. If this value is already in the set, FALSE is returned.
* @method int sCard() sCard(string $key) Returns the cardinality of the set identified by key.
* @method int sSize() sSize(string $key) Returns the cardinality of the set identified by key.
* @method array sMembers() sMembers(string $key) Returns the contents of a set.
* @method array sGetMembers() sGetMembers(string $key) Returns the contents of a set.
* @method bool sContains() sContains(string $key, string $value) Checks if value is a member of the set stored at the key key.
* @method bool sIsMember() sIsMember(string $key, string $value) Checks if value is a member of the set stored at the key key.
* @method bool sRem() sRem(string $key, string $member) Removes the specified member from the set value stored at key.
* @method bool sRemove() sRemove(string $key, string $member) Removes the specified member from the set value stored at key.
*/
class Redis
{