mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Update doctum docs
This commit is contained in:
committed by
Michael Grunder
parent
10c0bf0fcf
commit
ecdc290bba
+1
-1
@@ -1 +1 @@
|
||||
5.5.1
|
||||
5.5.4
|
||||
@@ -1 +1 @@
|
||||
develop
|
||||
main
|
||||
+4217
-903
File diff suppressed because it is too large
Load Diff
+15152
-55
File diff suppressed because it is too large
Load Diff
+4079
-279
File diff suppressed because it is too large
Load Diff
+7
-42
@@ -102,7 +102,7 @@
|
||||
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<a href="#method___construct">__construct</a>(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = null, array $context = null)
|
||||
<a href="#method___construct">__construct</a>(array|null $options = null)
|
||||
|
||||
<p class="no-description">No description</p>
|
||||
</div>
|
||||
@@ -198,7 +198,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-2 type">
|
||||
bool|<a href="RedisSentinel.html">RedisSentinel</a>
|
||||
int|<a href="RedisSentinel.html">RedisSentinel</a>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<a href="#method_reset">reset</a>(string $pattern)
|
||||
@@ -239,7 +239,7 @@
|
||||
<h3 id="method___construct">
|
||||
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_sentinel.stub.php#L11">at line 11</a></div>
|
||||
<code>
|
||||
<strong>__construct</strong>(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = null, array $context = null)
|
||||
<strong>__construct</strong>(array|null $options = null)
|
||||
</code>
|
||||
</h3>
|
||||
<div class="details">
|
||||
@@ -255,43 +255,8 @@
|
||||
|
||||
<table class="table table-condensed">
|
||||
<tr>
|
||||
<td>string</td>
|
||||
<td>$host</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>int</td>
|
||||
<td>$port</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>float</td>
|
||||
<td>$timeout</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>mixed</td>
|
||||
<td>$persistent</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>int</td>
|
||||
<td>$retry_interval</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>float</td>
|
||||
<td>$read_timeout</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>mixed</td>
|
||||
<td>$auth</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>array</td>
|
||||
<td>$context</td>
|
||||
<td>array|null</td>
|
||||
<td>$options</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -611,7 +576,7 @@
|
||||
<div class="method-item">
|
||||
<h3 id="method_reset">
|
||||
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_sentinel.stub.php#L37">at line 37</a></div>
|
||||
<code> bool|<a href="RedisSentinel.html">RedisSentinel</a>
|
||||
<code> int|<a href="RedisSentinel.html">RedisSentinel</a>
|
||||
<strong>reset</strong>(string $pattern)
|
||||
</code>
|
||||
</h3>
|
||||
@@ -639,7 +604,7 @@
|
||||
|
||||
<table class="table table-condensed">
|
||||
<tr>
|
||||
<td>bool|<a href="RedisSentinel.html">RedisSentinel</a></td>
|
||||
<td>int|<a href="RedisSentinel.html">RedisSentinel</a></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
+733
-39
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+6
-3
@@ -168,7 +168,7 @@ var Doctum = {
|
||||
DoctumSearch.doctumSearchPageAutoCompleteProgressBar.className = 'progress-bar';
|
||||
}
|
||||
},
|
||||
makeProgress: function () {
|
||||
makeProgess: function () {
|
||||
Doctum.makeProgressOnProgressBar(
|
||||
Doctum.doctumSearchAutoCompleteProgressBarPercent,
|
||||
Doctum.doctumSearchAutoCompleteProgressBar
|
||||
@@ -209,7 +209,7 @@ var Doctum = {
|
||||
oReq.onprogress = function (pe) {
|
||||
if (pe.lengthComputable) {
|
||||
Doctum.doctumSearchAutoCompleteProgressBarPercent = parseInt(pe.loaded / pe.total * 100, 10);
|
||||
Doctum.makeProgress();
|
||||
Doctum.makeProgess();
|
||||
}
|
||||
};
|
||||
oReq.onloadend = function (_) {
|
||||
@@ -261,10 +261,13 @@ var Doctum = {
|
||||
/**
|
||||
* Clean the search query
|
||||
*
|
||||
* @param string query
|
||||
* @param string|null query
|
||||
* @return string
|
||||
*/
|
||||
cleanSearchQuery: function (query) {
|
||||
if (typeof query !== 'string') {
|
||||
return '';
|
||||
}
|
||||
// replace any chars that could lead to injecting code in our regex
|
||||
// remove start or end spaces
|
||||
// replace backslashes by an escaped version, use case in search: \myRootFunction
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
O:21:"Doctum\Renderer\Index":3:{i:0;a:6:{s:5:"Redis";s:40:"39efb36886d0e29b476aa5ccb2e551c2a37fc7cb";s:10:"RedisArray";s:40:"fb17c785beccf1dbeedaa48afb4aa7d48fd8b655";s:12:"RedisCluster";s:40:"2f2132e45b1d60011f8ef9298cb35b7ba2b247d5";s:21:"RedisClusterException";s:40:"2f2132e45b1d60011f8ef9298cb35b7ba2b247d5";s:14:"RedisException";s:40:"39efb36886d0e29b476aa5ccb2e551c2a37fc7cb";s:13:"RedisSentinel";s:40:"4055ace9f1cf20bef89bdb5d3219470b4c8915e6";}i:1;a:1:{i:0;s:4:"main";}i:2;a:1:{i:0;s:0:"";}}
|
||||
O:21:"Doctum\Renderer\Index":3:{i:0;a:6:{s:5:"Redis";s:40:"11fcea52d11fbe82fd064d66a3dc7324371a94e6";s:10:"RedisArray";s:40:"2a50f02b4f62d96a18ec122fec35bd6e03bf735a";s:12:"RedisCluster";s:40:"76e57d541155478d414e8cfe84d56f6d07ec6e3d";s:21:"RedisClusterException";s:40:"76e57d541155478d414e8cfe84d56f6d07ec6e3d";s:14:"RedisException";s:40:"11fcea52d11fbe82fd064d66a3dc7324371a94e6";s:13:"RedisSentinel";s:40:"ca40579af888c5bb0661cd0201d840297474479a";}i:1;a:1:{i:0;s:4:"main";}i:2;a:1:{i:0;s:0:"";}}
|
||||
Reference in New Issue
Block a user