Skip to content

Commit 9d11313

Browse files
author
Max Kamashev
committed
change help
1 parent a76afda commit 9d11313

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ You need to add the path to a class of global include path.
22

33
After that, your IDE, when you declare a class Redis will display a hint which methods of this object can be used.
44

5-
h3. For example:
5+
<h3>For example:</h3>
66
$redis = new Redis();
77
$redis->con <press Tab or press Ctrl+Space>
88

9-
h3. Warning:
9+
<h3>Warning:</h3>
1010
Do not forget to declare a variable type $ redis
1111
/**
1212
* @ Var Redis
1313
*/
1414
public $redis = null;
15+
<img src="phpredis.png" />

redisphp.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -1949,10 +1949,13 @@ public function hMset($key, $hashKeys) {}
19491949
* @param string $key
19501950
* @param array $hashKeys
19511951
* @return Array An array of elements, the values of the specified fields in the hash, with the hash keys as array keys.
1952-
* @example $redis->delete('h');
1952+
* @example
1953+
* <pre>
1954+
* $redis->delete('h');
19531955
* $redis->hSet('h', 'field1', 'value1');
19541956
* $redis->hSet('h', 'field2', 'value2');
19551957
* $redis->hmGet('h', array('field1', 'field2')); // returns array('field1' => 'value1', 'field2' => 'value2')
1958+
* </pre>
19561959
*/
19571960
public function hMGet($key, $hashKeys) {}
19581961

0 commit comments

Comments
 (0)