Home
last modified time | relevance | path

Searched +full:filter -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 90) sorted by relevance

1234

/dokuwiki/lib/plugins/logviewer/
H A Dscript.js10 var $filter = jQuery('<input>');
11 $filter.on('keyup', function (e) {
12 var re = new RegExp($filter.val(), 'i');
22 $dl.before($filter);
23 $filter.wrap('<label></label>');
24 $filter.before(LANG.plugins.logviewer.filter + ' ');
/dokuwiki/lib/plugins/authad/
H A Dauth.php69 * @var array filter patterns for listing users
366 * @param array $filter
369 protected function constructSearchString($filter) argument
371 if (!$filter) {
376 if (isset($filter['name'])) {
377 $result .= ')(displayname=*' . $adldapUtils->ldapSlashes($filter['name']) . '*';
378 unset($filter['name']);
381 if (isset($filter['user'])) {
382 $result .= ')(samAccountName=*' . $adldapUtils->ldapSlashes($filter['user']) . '*';
383 unset($filter['user']);
[all …]
/dokuwiki/lib/plugins/extension/
H A Dscript.js87 $label.append(' ' + LANG.plugins.extension.filter);
89 let filter = !! window.localStorage.getItem('ext_filter');
90 $checkbox.prop('checked', filter);
91 $extlist.toggleClass('filter', filter);
94 filter = this.checked;
95 window.localStorage.setItem('ext_filter', filter ? '1' : '');
96 $extlist.toggleClass('filter', filter);
H A Dcli.php49 $options->registerOption('filter', 'Filter by this status', 'f', 'status', 'list');
89 $ret = $this->cmdList($options->getOpt('verbose'), $options->getOpt('filter', ''));
255 * @param string $filter
259 protected function cmdList($showdetails, $filter) argument
265 $this->listExtensions($extensions, $showdetails, $filter);
274 * @param string $filter filter for this status
278 protected function listExtensions($list, $details, $filter = '') argument
311 if ($filter && !str_contains($status, $filter)) {
/dokuwiki/lib/plugins/revert/
H A Dadmin.php61 $this->revertEdits($INPUT->arr('revert'), $INPUT->str('filter'));
62 } elseif ($INPUT->has('filter')) {
63 $this->listEdits($INPUT->str('filter'));
74 echo '<label>' . $this->getLang('filter') . ': </label>';
75 …echo '<input type="text" name="filter" class="edit" value="' . hsc($INPUT->str('filter')) . '" /> …
84 protected function revertEdits($revert, $filter) argument
100 if (!str_contains($data, (string) $filter)) break;
120 * List recent edits matching the given filter
122 protected function listEdits($filter) argument
128 echo '<input type="hidden" name="filter" value="' . hsc($filter) . '" />';
[all …]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPFolders.php86 $filter = '(&';
90 $filter .= '(objectClass=contact)';
93 $filter .= '(objectClass=computer)';
96 $filter .= '(objectClass=group)';
99 $filter .= '(objectClass=organizationalUnit)';
102 $filter .= '(objectClass=container)';
105 $filter .= '(objectClass=builtinDomain)';
108 $filter .= '(objectClass=user)';
113 $filter .= '(objectClass=*)';
120 $filter .= '(!(distinguishedname=' . $ou . ',' . $this->adldap->getBaseDn() . ')))';
[all …]
H A DadLDAPGroups.php325 …$filter = "(&(objectCategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes(…
327 …sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
332 …$filter = "(&(objectCategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes(…
334 … = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
373 …$filter = "(&(objectCategory=person)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes…
375 …sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
380 …$filter = "(&(objectCategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes(…
382 … = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
425 …$filter = "(&(objectCategory=group)(name=" . $this->adldap->utilities()->ldapSlashes($groupName) .…
429 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields…
[all …]
H A DadLDAPUsers.php225 $filter = "objectguid=" . $username;
228 $filter = "userPrincipalName=" . $username;
231 $filter = "samaccountname=" . $username;
233 $filter = "(&(objectCategory=person)({$filter}))";
240 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields…
557 …$filter = "(&(objectClass=user)(samaccounttype=" . adLDAP::ADLDAP_NORMAL_ACCOUNT .")(objectCategor…
559 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields…
589 $filter = "samaccountname=" . $username;
591 …$sr = @ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $field…
618 …$filter = "(&(objectClass=user)(samaccounttype=" . adLDAP::ADLDAP_NORMAL_ACCOUNT .")(objectCategor…
[all …]
H A DadLDAPContacts.php138 $filter = "distinguishedName=" . $distinguishedName;
142 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields…
260 $filter = "(&(objectClass=contact)(cn=" . $search . "))";
262 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields…
/dokuwiki/lib/plugins/authldap/
H A Dauth.php26 /* @var array $pattern User filter pattern */
198 $filter = $this->makeFilter($this->getConf('userfilter'), $info);
200 $filter = "(ObjectClass=*)";
203 $this->debug('LDAP Filter: ' . hsc($filter), 0, __LINE__, __FILE__);
205 $this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
206 …$sr = $this->ldapSearch($this->con, $base, $filter, $this->getConf('userscope'), $this->getConf('a…
275 $filter = $this->makeFilter($this->getConf('groupfilter'), $user_result);
279 $filter,
284 $this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
404 * @param array $filter array of field/pattern pairs, null for no filter
[all …]
/dokuwiki/vendor/splitbrain/php-archive/
H A Dphpunit.xml16 <filter>
20 </filter>
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php366 * @param array $filter array of field/pattern pairs, null for no filter
369 public function retrieveUsers($start = 0, $limit = -1, $filter = null) argument
372 if (is_null($filter)) $filter = [];
374 if (isset($filter['grps'])) $filter['group'] = $filter['grps'];
376 if (!isset($filter[$key])) {
377 $filter[$key] = '%';
379 $filter[$key] = '%' . $filter[$key] . '%';
382 $filter['start'] = (int)$start;
383 $filter['end'] = (int)$start + $limit;
384 $filter['limit'] = (int)$limit;
[all …]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php20 /** @var array filter pattern */
274 * Return a count of the number of user which meet $filter criteria
278 * @param array $filter
281 public function getUserCount($filter = []) argument
286 if ($filter === []) return count($this->users);
289 $this->constructPattern($filter);
292 $count += $this->filter($user, $info);
305 * @param array $filter array of field/pattern pairs
308 public function retrieveUsers($start = 0, $limit = 0, $filter = []) argument
318 $this->constructPattern($filter);
[all …]
/dokuwiki/inc/Input/
H A DInput.php28 protected $filter; variable in dokuwiki\\Input\\Input
42 * Apply the set filter to the given value
49 if (!$this->filter) return $data;
50 return call_user_func($this->filter, $data);
58 * @param Callable|string $filter
61 public function filter($filter = 'stripctl') argument
63 $this->filter = $filter;
65 $this->filter = '';
/dokuwiki/_test/tests/inc/
H A Dinput.test.php23 * custom filter function
46 $filter = array($this,'myfilter');
49 $this->assertSame('foobar', $INPUT->filter()->str('zstring'));
50 $this->assertSame('bar', $INPUT->filter($filter)->str('foo'));
51 $this->assertSame('bar', $INPUT->filter()->str('znull', 'bar', true));
55 $this->assertSame('foobar', $INPUT->get->filter()->str('zstring'));
56 $this->assertSame('bar', $INPUT->get->filter($filter)->str('foo'));
57 $this->assertSame('bar', $INPUT->get->filter()->str('znull', 'bar', true));
61 $this->assertSame(4242, $INPUT->filter()->int('zint'));
62 $this->assertSame(42, $INPUT->filter($filter)->int('zintbaz'));
[all …]
/dokuwiki/inc/TreeBuilder/
H A DAbstractBuilder.php23 /** @var callable|null A callback to modify or filter out nodes */
69 * @param callable|null $filter
72 public function setRecursionDecision(?callable $filter): void argument
74 if ($filter !== null && !is_callable($filter)) {
75 throw new \InvalidArgumentException('Recursion-filter must be callable');
77 $this->recursionDecision = $filter;
H A DPageTreeBuilder.php36 /** @var int Do not filter out hidden pages */
42 /** @var int Do not filter out pages/namespaces with invalid IDs */
142 // Recurse into subdirectory if depth and filter allows
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php30 protected $filter = []; // user selection filter(s) variable in admin_plugin_usermanager
138 $this->filter = $this->retrieveFilter();
169 …->users_total = $this->auth->canDo('getUserCount') ? $this->auth->getUserCount($this->filter) : -1;
205 $user_list = $this->auth->retrieveUsers($this->start, $this->pagesize, $this->filter);
211 … $export_label = empty($this->filter) ? $this->lang['export_all'] : $this->lang['export_filtered'];
304 if (!empty($this->filter)) {
552 * Returns htmlescaped filter value
559 if (empty($this->filter)) return '';
560 return (isset($this->filter[$key]) ? hsc($this->filter[$key]) : '');
564 * Print hidden inputs with the current filter values
[all …]
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dmake.php65 …bst', 'addprefix', 'addsuffix', 'basename', 'call', 'dir', 'error', 'eval', 'filter-out', 'filter',
130 …> '(\\$[({])(subst|addprefix|addsuffix|basename|call|dir|error|eval|filter-out|filter,|findstring|…
H A Dwhois.php62 'as-block','as-set','aut-num','domain','filter-set','inet-rtr',
72 'fax-no','filter','filter-set','fingerpr','form','holes','ifaddr',
77 'mp-export','mp-filter','mp-import','mp-members','mp-peer',
/dokuwiki/inc/Extension/
H A DAuthPlugin.php315 * Return a count of the number of user which meet $filter criteria
321 * @param array $filter array of field/pattern pairs, empty array for no filter
324 public function getUserCount($filter = []) argument
338 * @param array $filter array of field/pattern pairs, null for no filter
341 public function retrieveUsers($start = 0, $limit = 0, $filter = null) argument
/dokuwiki/lib/exe/
H A Dajax.php25 $call = $INPUT->filter(Clean::stripspecials(...))->str('call');
/dokuwiki/inc/
H A Dindexer.php338 * @param array|int $filter
341 function idx_indexLengths($filter) argument
345 if (is_array($filter)) {
348 foreach (array_keys($filter) as $key) {
356 if ((int)$length >= (int)$filter)
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DNameFilter.php36 public function filter(string $name): string; function
H A DCallableNameFilter.php49 public function filter(string $name): string function in SimplePie\\Cache\\CallableNameFilter

1234