Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 131) sorted by last modified time

123456

/dokuwiki/lib/plugins/authpdo/
H A Dauth.php104 ['count-users']
134 return (count($result) == 1);
349 $count = 0;
351 if ($this->deleteUser($user)) $count++;
353 return $count;
401 * Return a count of the number of user which meet $filter criteria
419 $result = $this->query($this->getConf('count-users'), $filter);
420 if (!$result || !isset($result[0]['count'])) {
421 $this->debugMsg("Statement did not return 'count' attribute", -1, __LINE__);
423 return (int)$result[0]['count'];
[all...]
/dokuwiki/lib/plugins/acl/
H A Dadmin.php288 $count = count($data);
289 if ($count > 0) for ($i = 1; $i < $count; $i++) {
312 while (count($a_ids) && count($b_ids)) {
320 if ($a_ids === [] && $a['type'] == 'f' && (count($b_ids) || $b['type'] == 'd')) return 1;
321 if ($b_ids === [] && $b['type'] == 'f' && (count($a_ids) || $a['type'] == 'd')) return -1;
/dokuwiki/lib/plugins/config/
H A Dadmin.php263 if (count($this->configuration->getUndefined()) && $allow_debug) {
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php220 // user count
227 $count = count($list);
228 if ($count > 2) {
232 $data['edits_per_day'] = $count / $dur;
280 * Callback to search and count the content of directories in DokuWiki
/dokuwiki/inc/parser/
H A Dxhtml.php101 if (count($this->sectionedits) == 0) {
142 if ($this->sectionedits[count($this->sectionedits) - 1]['start'] <= 1) {
184 $conf['tocminheads'] && count($this->toc) >= $conf['tocminheads']
243 $this->sectionedits[count($this->sectionedits) - 1]['target'] === 'section'
887 if (count($parts) === 2) {
/dokuwiki/inc/
H A Dparserutils.php
H A Dsearch.php385 ($type == 'd' && count($parts) >= $opts['depth'])
386 || ($type != 'd' && count($parts) > $opts['depth'])
423 * structure created by search_fulltext. Sorts descending by count
434 if ($a['count'] > $b['count']) {
436 } elseif ($a['count'] < $b['count']) {
H A Dtemplate.php158 if (!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
813 $last = count($crumbs);
858 $count = count($parts);
867 for ($i = 0; $i < $count - 1; $i++) {
1337 if (count($lang) === 0) {
H A Dio.php94 if (is_array($data) && is_array($data[0]) && count($data[0]) === 2) {
230 if (is_array($data) && is_array($data[0]) && count($data[0]) === 3) {
371 $count = 0;
374 if ($count >= $maxlines) break;
378 $count++;
390 if (count($lines)) {
572 if (!file_exists($path)) return true; // it's already gone or was never there, count as success
H A DMailer.class.php109 $name = count($this->attach) . ".$ext";
353 $name = str_replace('"', '\"', $name, $count);
354 if ($count > 0 || strpos($name, ',') !== false) {
382 $count = preg_match_all('/\s*(?:("[^"]*"[^,]+),*)|([^,]+)\s*,*/', $addresses, $matches, PREG_SET_ORDER);
384 if ($count !== false && is_array($matches)) {
515 if (!$this->html && !count($this->attach)) { // we can send a simple single part message
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DRSSCreator091.php43 if (count($this->items) > 0
48 if (count($this->items) > 0
130 for ($i = 0; $i < count($this->items); $i++) {
H A DRSSCreator10.php44 for ($i = 0; $i < count($this->items); $i++) {
59 for ($i = 0; $i < count($this->items); $i++) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDES.php
H A DRSA.php673 $count = ceil($maskLen / $this->mgfHLen);
674 for ($i = 0; $i < $count; $i++) {
H A DRijndael.php
H A DTwofish.php
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php202 $count = $auth->triggerUserMod('delete', [$users]);
204 if ($count != count($users)) {
206 $part1 = str_replace('%d', $count, $this->getLang('delete_ok'));
207 $part2 = str_replace('%d', (count($users) - $count), $this->getLang('delete_fail'));
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php53 $count = count($this->patterns);
54 $this->patterns[$count] = $pattern;
55 $this->labels[$count] = $label;
69 if (count($this->patterns) == 0) {
78 $size = count($matches);
99 if (count($this->patterns) == 0) {
126 $idx = count($matches) - 2;
144 $cnt = count($this->patterns);
/dokuwiki/inc/Parsing/ParserMode/
H A DAcronym.php25 if (!count($this->acronyms)) return;
35 if (!count($this->acronyms)) return;
H A DEntity.php25 if (!count($this->entities) || $this->pattern != '') return;
37 if (!count($this->entities)) return;
H A DExternallink.php13 if (count($this->patterns)) return;
/dokuwiki/vendor/simplepie/simplepie/idn/
H A Didna_convert.class.php382 $deco_len = count($decoded);
447 $deco_len = count($decoded);
607 $out_len = count($output);
618 if (count($out) != $seq_len) {
667 $inp_len = count($input);
684 $result[(count($result) - 1)] = $last; // reset last
691 $result[(count($result) - 1)] = $last; // reset last
721 $size = count($input);
753 $inp_len = count($input);
756 if (count(
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DParser.php489 * @param integer $count Redirection count. Default to 1.
493 public static function prepareHeaders($headers, $count = 1) argument
495 $data = explode("\r\n\r\n", $headers, $count);
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php108 for ($i = 0, $total_matches = count($matches); $i < $total_matches; $i++) {
120 for ($j = 0, $total_attribs = count($attribs); $j < $total_attribs; $j++) {
121 if (count($attribs[$j]) === 2) {
/dokuwiki/vendor/simplepie/simplepie/src/Net/
H A DIPv6.php205 if (count($ipv6) === 8 && count($ipv4) === 1 || count($ipv6) === 6 && count($ipv4) === 4) {
229 if (count($ipv4) === 4) {

123456