Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 39) sorted by relevance

12

/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…
H A DadLDAPComputers.php68 $filter = "(&(objectClass=computer)(cn=" . $computerName . "))";
72 …$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields…
H A DadLDAPExchange.php360 $filter = '(&(objectCategory=msExchStorageGroup))';
361 … $sr = @ldap_search($this->adldap->getLdapConnection(), $exchangeServer, $filter, $attributes);
384 $filter = '(&(objectCategory=msExchPrivateMDB))';
385 $sr = @ldap_search($this->adldap->getLdapConnection(), $storageGroup, $filter, $attributes);
/dokuwiki/lib/plugins/authad/
H A Dauth.php365 * @param array $filter
368 protected function constructSearchString($filter) argument
370 if (!$filter) {
375 if (isset($filter['name'])) {
376 $result .= ')(displayname=*' . $adldapUtils->ldapSlashes($filter['name']) . '*';
377 unset($filter['name']);
380 if (isset($filter['user'])) {
381 $result .= ')(samAccountName=*' . $adldapUtils->ldapSlashes($filter['user']) . '*';
382 unset($filter['user']);
385 if (isset($filter['mail'])) {
[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.php255 * @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 && strpos($status, $filter) === false) {
/dokuwiki/lib/plugins/revert/
H A Dadmin.php84 protected function revertEdits($revert, $filter) argument
100 if (strpos($data, (string) $filter) === false) break;
122 protected function listEdits($filter) argument
128 echo '<input type="hidden" name="filter" value="' . hsc($filter) . '" />';
136 if ($filter) {
137 if (strpos(rawWiki($recent['id']), (string) $filter) === false) continue;
188 printf($this->getLang('note2'), hsc($filter));
/dokuwiki/lib/plugins/authldap/
H A Dauth.php198 $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
408 public function retrieveUsers($start = 0, $limit = 0, $filter = []) argument
[all …]
/dokuwiki/inc/Input/
H A DInput.php28 protected $filter; variable in dokuwiki\\Input\\Input
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') function in dokuwiki\\Input\\Input
63 $this->filter = $filter;
65 $this->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.php278 * @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);
321 if ($this->filter($user, $info)) {
466 protected function filter($user, $info) function in auth_plugin_authplain
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DNameFilter.php75 public function filter(string $name): string; function
H A DCallableNameFilter.php85 public function filter(string $name): string function in SimplePie\\Cache\\CallableNameFilter
/dokuwiki/inc/Extension/
H A DAuthPlugin.php321 * @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/_test/tests/inc/
H A Dinput.test.php46 $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'));
63 $this->assertSame(42, $INPUT->filter()->str('znull', 42, true));
[all …]
/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)) {
559 if (empty($this->filter)) return '';
560 return (isset($this->filter[$key]) ? hsc($this->filter[$key]) : '');
573 foreach ($this->filter as $key => $filter) {
574 echo '<input type="hidden" name="filter[' . $key . ']" value="' . hsc($filter) . '" />';
[all …]
/dokuwiki/inc/TreeBuilder/
H A DAbstractBuilder.php69 * @param callable|null $filter
72 public function setRecursionDecision(?callable $filter): void argument
74 if ($filter !== null && !is_callable($filter)) {
77 $this->recursionDecision = $filter;
/dokuwiki/lib/exe/
H A Dajax.php25 $call = $INPUT->filter([Clean::class, 'stripspecials'])->str('call');
/dokuwiki/lib/plugins/logviewer/
H A Dscript.js24 $filter.before(LANG.plugins.logviewer.filter + ' ');
/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)
H A Dhttputils.php35 … $if_modified_since = $INPUT->server->filter('stripslashes')->str('HTTP_IF_MODIFIED_SINCE', false);
36 $if_none_match = $INPUT->server->filter('stripslashes')->str('HTTP_IF_NONE_MATCH', false);
/dokuwiki/lib/scripts/
H A Dbehaviour.js179 .filter(':checked')
192 var $checked = $all.filter(':checked');

12