Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 15 of 15) sorted by relevance

/dokuwiki/inc/
H A Dsearch.php23 * @param array $opts option array will be given to the Callback
30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') argument
65 if (call_user_func_array($func, [&$data, $base, $dir, 'd', $lvl, $opts])) {
66 search($data, $base, $func, $opts, $dir, $lvl + 1, $sort);
71 call_user_func_array($func, [&$data, $base, $file, 'f', $lvl, $opts]);
108 * @param array $opts
112 function search_qsearch(&$data, $base, $file, $type, $lvl, $opts) argument
114 $opts = [
115 'idmatch' => '(^|:)' . preg_quote($opts['query'], '/') . '/',
119 return search_universal($data, $base, $file, $type, $lvl, $opts);
[all …]
H A DPassHash.php564 * @param array $opts ('algo' => hash algorithm, 'iter' => iterations)
568 public function hash_seafilepbkdf2($clear, $salt = null, $opts = []) argument
571 if (empty($opts['algo'])) {
574 $prefixalgo = $opts['algo'];
577 if (empty($opts['iter'])) {
580 $iter = (int) $opts['iter'];
601 * @param array $opts ('algo' => hash algorithm, 'iter' => iterations)
605 public function hash_djangopbkdf2($clear, $salt = null, $opts = []) argument
608 if (empty($opts['algo'])) {
611 $algo = $opts['algo'];
[all …]
H A DAjax.php395 $opts = [
403 if ($id) $opts['filematch'] = '^.*\/' . $id;
404 if ($id) $opts['dirmatch'] = '^.*\/' . $id;
405 search($data, $conf['datadir'], 'search_universal', $opts, $nsd);
/dokuwiki/inc/Action/
H A DRedirect.php31 $opts = ['id' => $ID, 'preact' => $ACT];
35 $opts['fragment'] = $INPUT->str('hid');
39 $opts['fragment'] = sectionID($match[0], $check);
43 Event::createAndTrigger('ACTION_SHOW_REDIRECT', $opts, [$this, 'redirect']);
54 * @param array $opts id and fragment for the redirect and the preact
56 public function redirect($opts) argument
58 $go = wl($opts['id'], '', true, '&');
59 if (isset($opts['fragment'])) $go .= '#' . $opts['fragment'];
/dokuwiki/lib/scripts/
H A Dtextselection.js73 function pasteText(selection,text,opts){ argument
74 if(!opts) opts = {};
91 if(opts.startofs) selection.start += opts.startofs;
92 if(opts.endofs) selection.end -= opts.endofs;
95 if(opts.nosel) selection.start = selection.end;
114 var opts;
125 opts = { variable
131 opts = { variable
140 pasteText(selection,text,opts);
H A Dmedia.js154 var opts, $insp, $insbtn;
164 opts = [
179 jQuery.each(opts, function (_, opt) {
230 var opts, cb, edid, s;
235 opts = '';
240 opts = '?linkonly';
244 opts = '?nolink';
246 opts = '?direct';
253 opts += (opts.length) ? '&' : '?';
254 opts += size;
[all …]
H A Dtoolbar.js103 opts,
113 opts = {nosel: true}; variable
115 opts = { variable
124 pasteText(selection,sample,opts);
H A Dedit.js164 opts = [field.value.substr(0,DWgetSelection(field).start)];
167 opts.push(field.form.prefix.value);
170 jQuery.each(opts, function (_, opt) {
/dokuwiki/lib/plugins/authad/
H A Dauth.php50 protected $opts = []; variable in auth_plugin_authad
245 …$info['grps'] = $adldap->user()->groups($this->getUserName($user), (bool) $this->opts['recursive_g…
637 if (is_null($domain) && is_array($this->opts)) {
638 $domain = $this->opts['domain'];
641 $this->opts = $this->loadServerConfig((string) $domain);
646 $this->adldap[$domain] = new adLDAP($this->opts);
695 $opts = $this->conf;
697 $opts['domain'] = $domain;
701 $opts[$key] = $val;
705 $opts['domain_controllers'] = explode(',', $opts['domain_controllers']);
[all …]
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php287 * @param array $opts option array as given to search()
290 public function searchCountCallback(&$data, $base, $file, $type, $lvl, $opts) argument
300 if ($opts['all'] || str_ends_with($file, '.txt')) {
/dokuwiki/inc/Remote/
H A DLegacyApiCore.php195 public function legacyGetPagelist($ns, $opts = []) argument
197 $data = $this->listPages($ns, $opts['depth'] ?? 0, $opts['hash'] ?? false);
H A DApiCore.php267 $opts['skipacl'] = 0;
268 $opts['depth'] = $depth;
269 $opts['hash'] = $hash;
270 search($data, $conf['datadir'], 'search_allpages', $opts, $dir);
/dokuwiki/lib/plugins/acl/
H A Dadmin.php218 $opts = ['do' => 'admin', 'page' => 'acl'];
219 if ($this->ns) $opts['ns'] = $this->ns;
220 if ($this->who) $opts['acl_w'] = $this->who;
222 if (is_null($addopts)) return $opts;
223 return array_merge($opts, $addopts);
/dokuwiki/lib/scripts/jquery/
H A Djquery.min.js2opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOpt… property
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php1179 $opts = $this->getExtension('id-pe-authorityInfoAccess');
1180 if (!is_array($opts)) {
1183 foreach ($opts as $opt) {