Yuki Matsukura
5d1b3a4ddb
Update README.markdown
...
- correct minor example mistake.
2013-04-27 22:06:41 +01:00
michael-grunder
e914485313
Merge branch 'hotfix/inspection_methods' into develop
...
Conflicts:
php_redis.h
redis.c
2013-03-27 11:21:02 -07:00
michael-grunder
ef792320e7
Introspection methods
...
This commit adds methods to get information about the state
of our phpredis object, such as what host/port we are connected
to, our timeout, etc...
The following methods have been added:
getHost()
getPort()
getDBNum()
getTimeout()
getReadTimeout()
isConnected()
getPersistentID()
getAuth()
In addition, there is a small memory leak fix when a persistent id
was specifically passed to connect() (it wasn't beeing freed).
Addresses issue #320
2013-03-27 10:21:18 -07:00
michael-grunder
7deb21fe2d
More formatting
2013-02-25 14:12:20 -08:00
michael-grunder
b096f5771b
Formatting fix
2013-02-25 14:10:53 -08:00
michael-grunder
5582166f77
Fix documentation for CLIENT command
...
Relates to issue #300
2013-02-25 14:08:07 -08:00
Nicolas Favre-Felix
e4842cdeef
Merge branch 'hotfix/document-windows-build' into develop
2013-02-17 15:31:23 +00:00
Nicolas Favre-Felix
df060ca2ce
Link to instructions on how to build on Windows
2013-02-17 15:30:20 +00:00
Nicolas
c37a7d3610
Merge branch 'hotfix/document_session_on_unix_socket' into develop
2013-02-17 13:38:15 +00:00
Nicolas
507ba7c513
Document unix sockets with the session handler
2013-02-17 13:37:22 +00:00
michael-grunder
9a5196ed2e
CLIENT Commands
...
This commit adds support for the CLIENT commands (list, getname,
setname, kill).
You can call them like so:
$redis->client('list');
$redis->client('getname');
$redis->client('setname', $name);
$redis->client('kill', $ip_port);
Solves issue #300
2013-02-16 17:57:32 -08:00
michael-grunder
242a16d50a
Merge branch 'srandmember_count'
...
Conflicts:
tests/TestRedis.php
2013-02-04 13:22:29 -08:00
michael-grunder
71a002d7fe
Pulling README.markdown from master
2013-02-04 13:18:22 -08:00
michael-grunder
c1e7da4256
Fix markdown formatting
2013-02-04 13:13:00 -08:00
michael-grunder
87dddda2ab
Update documentation to new format for our count argument
2013-02-04 13:10:48 -08:00
Tit Petric
fde191991e
footer hr after keys toc
2012-11-27 16:21:58 +01:00
Tit Petric
dce8a704e3
Keys and strings toc import
2012-11-27 16:20:05 +01:00
Tit Petric
968d3fd8bc
link keys and strings
2012-11-27 16:01:50 +01:00
Tit Petric
b99022893b
llen fix, alias exists
2012-11-27 15:55:06 +01:00
Tit Petric
b8ee6128f3
lists and list toc
2012-11-27 15:47:32 +01:00
Tit Petric
0cf7c8813a
transactions, pub/sub sections, toc
2012-11-27 15:28:10 +01:00
Tit Petric
328f599c38
moved hash methods under heading, created toc
2012-11-27 15:18:11 +01:00
Tit Petric
a6a51a9a48
scripting methods, created toc
2012-11-27 15:10:40 +01:00
Tit Petric
1c6ee3e2e8
alphabetized set methods, created toc
2012-11-27 15:02:01 +01:00
Tit Petric
3d055f8390
alphabetized sorted set methods, created toc
2012-11-27 14:43:56 +01:00
Tit Petric
3372eb988a
server TOC and methods related to that
2012-11-27 14:17:55 +01:00
Tit Petric
1354cf9ed9
replaced html pre tags with markdown syntax
2012-11-27 13:51:53 +01:00
Tit Petric
dc6d4ddd8e
testing, moved time and slaveof under server section, replace html code sections with markdown
2012-11-27 13:48:03 +01:00
Tit Petric
42c3a576f0
moved auth and select methods under connection heading, updated TOC with descriptions
2012-11-27 13:33:40 +01:00
Tit Petric
c73c2eea8e
usage lists classes, subtoc for section connection
2012-11-27 13:24:43 +01:00
Tit Petric
63cad63fb8
Started expanding general docs
2012-11-27 12:20:31 +01:00
Tit Petric
b3b55e007f
removed duplicate description marker
2012-11-27 12:10:15 +01:00
Tit Petric
2b3fa60d15
added description markers, added description for sort (missing from documentation until now)
2012-11-27 12:09:37 +01:00
Tit Petric
75434ae82f
bold/italics, whitespace
2012-11-27 11:59:33 +01:00
Tit Petric
b44fa178ba
consistent heading markdown, test description header
2012-11-27 11:52:26 +01:00
Tit Petric
8ffec24acf
re-added em/asterisks on h5 consistently
2012-11-27 11:45:49 +01:00
Tit Petric
063334dd4a
removed redundant and inconsistent italics, github already has italic style on h5 headings, no effect
2012-11-27 11:41:11 +01:00
Tit Petric
605984e8a7
blanket remove redundant description heading
2012-11-27 11:36:34 +01:00
Tit Petric
def41f7e6b
blanked add hr insert behind every h3
2012-11-27 11:29:50 +01:00
Tit Petric
faeacde028
test hr insert
2012-11-27 11:26:24 +01:00
Tit Petric
1816e44010
blanket fix method indentation to h3 level
2012-11-27 11:24:08 +01:00
Tit Petric
2569a0216f
more testing, trying to set id on heading
2012-11-27 11:19:32 +01:00
Tit Petric
1dbf0036b2
more TOC indent tests, renamed some headings
2012-11-27 11:12:50 +01:00
Tit Petric
fc2240980e
Renamed session handler title, added a template TOC to test
2012-11-27 11:08:27 +01:00
michael-grunder
51b96938bc
SRANDMEMBER optional COUNT argument
...
Adds support for the new COUNT argument to SRANDMEMBER. If called
without a count, we will still return a string response (with one
randome member from the set, or false on a failure/type error).
If the count argument is passed, we return instead an array up to
the number asked for, given how Redis will process this value.
http://redis.io/commands/srandmember
2012-10-25 14:19:04 -07:00
Arun Vijayan C
fc05cb93aa
Update README.markdown
...
Corrected syntax errors in setOption() examples.
2012-10-10 01:47:53 +05:30
milkliker
d518e4f329
Update README.markdown
...
fix a clerical error of sample in document of zUnion
2012-09-12 21:11:42 +08:00
michael-grunder
b4735e578b
Merge branch 'master' of github.com:nicolasff/phpredis
2012-09-10 08:25:52 -07:00
Nicolas Favre-Felix
5855cfc2ca
Add clearLastError
2012-09-09 22:09:27 +01:00
Nicolas Favre-Felix
6153477c4f
Extend getLastError to all calls
...
Fixes GitHub issue #245 .
2012-09-09 20:38:30 +01:00