Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 65) sorted by relevance

123

/dokuwiki/_test/tests/Remote/
H A DApiCoreAclCheckTest.php79 $params = ['nice_page'];
80 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', $params));
86 $params = [
90 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', $params));
92 $params = [
97 $this->assertEquals(AUTH_CREATE, $this->remote->call('core.aclCheck', $params));
99 $params = [
104 $this->assertEquals(AUTH_CREATE, $this->remote->call('core.aclCheck', $params));
106 $params = [
111 $this->assertEquals(AUTH_CREATE, $this->remote->call('core.aclCheck', $params));
[all …]
H A DApiCoreTest.php515 $params = ['page' => $id, 'first' => 0];
516 $versions = $this->remote->call('core.getPageHistory', $params);
526 $params = ['page' => $id, 'first' => 1]; // offset 1
527 $versions = $this->remote->call('core.getPageHistory', $params);
538 $params = ['page' => $id, 'first' => 0]; // first page
539 $versions = $this->remote->call('core.getPageHistory', $params);
546 $params = ['page' => $id, 'first' => $conf['recent']]; // second page
547 $versions = $this->remote->call('core.getPageHistory', $params);
554 $params = ['page' => $id, 'first' => $conf['recent'] * 2]; // third page
555 $versions = $this->remote->call('core.getPageHistory', $params);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DPSS.php119 $params = ASN1::asn1map($decoded[0], Maps\RSASSA_PSS_params::MAP);
121 $params = [];
124 if (isset($params['maskGenAlgorithm']['parameters'])) {
125 $decoded = ASN1::decodeBER($params['maskGenAlgorithm']['parameters']);
129 … $params['maskGenAlgorithm']['parameters'] = ASN1::asn1map($decoded[0], Maps\HashAlgorithm::MAP);
131 $params['maskGenAlgorithm'] = [
137 if (!isset($params['hashAlgorithm']['algorithm'])) {
138 $params['hashAlgorithm']['algorithm'] = 'id-sha1';
141 $result['hash'] = str_replace('id-', '', $params['hashAlgorithm']['algorithm']);
142 …$result['MGFHash'] = str_replace('id-', '', $params['maskGenAlgorithm']['parameters']['algorithm']…
[all …]
/dokuwiki/inc/Action/
H A DSubscribe.php68 $params = [];
71 $params[$param] = $INPUT->str("sub_$param");
76 if (empty($params['action']) || !checkSecurityToken()) return;
79 Event::createAndTrigger('ACTION_HANDLE_SUBSCRIBE', $params, $this->handlePostData(...));
81 $target = $params['target'];
82 $style = $params['style'];
83 $action = $params['action'];
125 public function handlePostData(&$params) argument
132 if (!isset($params['target'])) {
135 $target = $params['target'];
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/
H A DPKCS8.php102 $params = [
106 $params = ASN1::encodeDER($params, Maps\DHParameter::MAP);
107 $params = new ASN1\Element($params);
109 return self::wrapPrivateKey($key, [], $params, $password, null, '', $options);
123 $params = [
127 $params = ASN1::encodeDER($params, Maps\DHParameter::MAP);
128 $params = new ASN1\Element($params);
130 return self::wrapPublicKey($key, $params, null, $options);
H A DPKCS1.php67 $params = [
71 $params = ASN1::encodeDER($params, Maps\DHParameter::MAP);
74 chunk_split(base64_encode($params), 64) .
/dokuwiki/lib/plugins/usermanager/_test/
H A DRemoteApiTest.php44 $params = [
58 $this->remote->call('plugin.usermanager.createUser', $params)
64 $this->remote->call('plugin.usermanager.createUser', $params)
73 $params = [
89 $this->remote->call('plugin.usermanager.createUser', $params);
97 $params = [
113 $this->remote->call('plugin.usermanager.createUser', $params);
121 $params = [
137 $this->remote->call('plugin.usermanager.createUser', $params);
145 $params = [
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DPKCS8.php113 $params = [
118 $params = ASN1::encodeDER($params, Maps\DSAParams::MAP);
119 $params = new ASN1\Element($params);
121 return self::wrapPrivateKey($key, [], $params, $password, null, '', $options);
136 $params = [
141 $params = ASN1::encodeDER($params, Maps\DSAParams::MAP);
142 $params = new ASN1\Element($params);
144 return self::wrapPublicKey($key, $params, null, $options);
/dokuwiki/inc/Menu/Item/
H A DEdit.php28 $this->params['do'] = 'draft';
30 $this->params['rev'] = $REV;
37 $params['rev'] = $REV;
43 $this->params = ['do' => ''];
H A DRevert.php23 $this->params['rev'] = $REV;
24 $this->params['sectok'] = getSecurityToken();
H A DLogin.php19 $this->params['sectok'] = getSecurityToken();
24 $this->params['do'] = 'logout';
H A DAbstractItem.php38 protected $params = []; variable in dokuwiki\\Menu\\Item\\AbstractItem
66 $this->params['do'] = $this->type;
124 return wl($this->id, $this->params, false, '&');
228 return $this->params;
259 'params' => $this->params,
/dokuwiki/vendor/simplepie/simplepie/src/
H A DCache.php106 $params = array_merge($parsedUrl, ['extras' => []]);
107 if (isset($params['query'])) {
108 parse_str($params['query'], $params['extras']);
110 return $params;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDH.php95 $params = new Parameters();
100 $params->prime = $args[0];
101 $params->base = $args[1];
102 return $params;
104 $params->prime = BigInteger::randomPrime($args[0]);
105 $params->base = new BigInteger(2);
106 return $params;
231 $params->prime = new BigInteger($prime, 16);
232 $params->base = new BigInteger(2);
234 return $params;
[all …]
H A DDSA.php207 $params = self::createParameters($args[0], $args[1]);
209 $params = $args[0];
211 $params = self::createParameters();
225 'p' => $params->p,
226 'q' => $params->q,
227 'g' => $params->g,
236 ->withHash($params->hash->getHash())
237 ->withSignatureFormat($params->shortFormat);
244 $private->p = $params->p;
245 $private->q = $params->q;
[all …]
/dokuwiki/_test/tests/Remote/OpenApiDoc/
H A DDocBlockMethodTest.php59 $params = $doc->getParameters();
60 $this->assertInstanceOf(Type::class, $params['foo']['type']);
61 $this->assertInstanceOf(Type::class, $params['bar']['type']);
62 $this->assertInstanceOf(Type::class, $params['baz']['type']);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS8.php432 $params = ASN1::asn1map($temp[0], Maps\PBKDF2params::MAP);
433 if (empty($params['prf'])) {
434 $params['prf'] = ['algorithm' => 'id-hmacWithSHA1'];
436 $salt = $params['salt'];
437 $iterationCount = $params['iterationCount'];
438 $prf = $params['prf'];
441 $params = [
449 $params[] = (int) $keyLength->toString();
451 $cipher->setPassword(...$params);
550 * @param mixed $params
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DCommon.php198 * @param array $params
201 protected static function loadCurveByParam(array $params) argument
203 if (count($params) > 1) {
206 if (isset($params['namedCurve'])) {
207 $curve = '\phpseclib3\Crypt\EC\Curves\\' . $params['namedCurve'];
209 …throw new UnsupportedCurveException('Named Curve of ' . $params['namedCurve'] . ' is not supported…
213 if (isset($params['implicitCurve'])) {
219 if (isset($params['specifiedCurve'])) {
220 $data = $params['specifiedCurve'];
235 $params = ASN1::decodeBER($data['fieldID']['parameters']);
[all …]
/dokuwiki/lib/plugins/extension/
H A DGui.php41 * @param array $params associative array of parameter to set
46 public function tabURL($tab = '', $params = [], $sep = '&', $absolute = false) argument
59 return wl($ID, array_merge($defaults, $params), $absolute, $sep);
/dokuwiki/inc/
H A Dfarm.php58 $params = [];
59 parse_str($_SERVER['QUERY_STRING'], $params);
60 if (isset($params['animal'])) unset($params['animal']);
61 $_SERVER['QUERY_STRING'] = http_build_query($params);
/dokuwiki/lib/scripts/
H A Dfileuploaderextended.js38 this._handler.uploadAll(this._options.params);
200 uploadAll: function(params){ argument
201 this._uploadAll(params);
219 _uploadAll: function(params){ argument
224 this.upload(key, params);
229 _upload: function(id, params){ argument
239 var form = this._createForm(iframe, params);
274 uploadAll: function(params){ argument
275 this._uploadAll(params);
299 _upload: function(id, params){ argument
[all …]
/dokuwiki/_test/tests/inc/
H A DPageUtilsIsHiddenPage.test.php44 function alwaysHide(Doku_Event $event, $params) { argument
56 function showBefore(Doku_Event $event, $params) { argument
78 function hideBeforeWithoutPrevent(Doku_Event $event, $params) { argument
90 function showAfter(Doku_Event $event, $params) { argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DPublicKey.php48 $params = $format::load($signature);
49 if ($params === false || count($params) != 2) {
52 $r = $params['r'];
53 $s = $params['s'];
/dokuwiki/inc/Remote/
H A DApiCall.php160 * @param array $params
163 protected function namedArgsToPositional($params) argument
168 if (isset($params[$arg])) {
169 $args[] = $params[$arg];
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php270 $params = $olddata;
271 $params['newlogin'] = $changes['user'];
273 $ok = $this->query($this->getConf('update-user-login'), $params);
279 $params = $olddata;
280 $params['clear'] = $changes['pass'];
281 $params['hash'] = auth_cryptPassword($changes['pass']);
283 $ok = $this->query($this->getConf('update-user-pass'), $params);
289 $params = $olddata;
290 if (isset($changes['mail'])) $params['mail'] = $changes['mail'];
291 if (isset($changes['name'])) $params['name'] = $changes['name'];
[all …]

123