Home
last modified time | relevance | path

Searched refs:PhpString (Results 1 – 24 of 24) sorted by relevance

/dokuwiki/inc/
H A Dutf8.php13 use dokuwiki\Utf8\PhpString; alias
84 return PhpString::basename($path, $suffix);
93 return PhpString::strlen($str);
120 return PhpString::ltrim($str, $charlist);
129 return PhpString::rtrim($str, $charlist);
137 dbg_deprecated(PhpString::class . '::trim()');
138 return PhpString::trim($str, $charlist);
147 return PhpString::strtolower($str);
156 return PhpString::strtoupper($str);
165 return PhpString::ucfirst($str);
[all …]
H A Dfetch.functions.php77 'filename', \dokuwiki\Utf8\PhpString::basename($orig)) . ';'
81 'filename', \dokuwiki\Utf8\PhpString::basename($orig)) . ';'
H A Dfulltext.php103 $text = \dokuwiki\Utf8\PhpString::strtolower($evdata['text']);
430 $len = \dokuwiki\Utf8\PhpString::strlen($text);
460 $utf8_idx = \dokuwiki\Utf8\PhpString::strlen(substr($text,0,$idx));
461 $utf8_len = \dokuwiki\Utf8\PhpString::strlen($str);
490 … $snippets[count($snippets)-1] .= \dokuwiki\Utf8\PhpString::substr($text,$append,$end-$append);
492 $snippets[] = \dokuwiki\Utf8\PhpString::substr($text,$start,$end-$start);
501 $offset = $idx + strlen(\dokuwiki\Utf8\PhpString::substr($text,$utf8_idx,$utf8_len));
690 $terms = preg_split('/(-?".*?")/u', \dokuwiki\Utf8\PhpString::strtolower($query),
H A Dcommon.php1166 \dokuwiki\Utf8\PhpString::ucfirst(curNS($id)),
1167 \dokuwiki\Utf8\PhpString::ucwords(curNS($id)),
1168 \dokuwiki\Utf8\PhpString::strtoupper(curNS($id)),
1170 \dokuwiki\Utf8\PhpString::ucfirst($file),
1171 \dokuwiki\Utf8\PhpString::strtoupper($file),
1173 \dokuwiki\Utf8\PhpString::ucfirst($page),
1174 \dokuwiki\Utf8\PhpString::ucwords($page),
1175 \dokuwiki\Utf8\PhpString::strtoupper($page),
1598 $max = $max - \dokuwiki\Utf8\PhpString::strlen($keep);
1600 $len = \dokuwiki\Utf8\PhpString::strlen($short);
[all …]
H A Dauth.php536 $user = \dokuwiki\Utf8\PhpString::strtolower($user);
537 $groups = array_map([\dokuwiki\Utf8\PhpString::class, 'strtolower'], $groups);
551 if(!$auth->isCaseSensitive()) $member = \dokuwiki\Utf8\PhpString::strtolower($member);
640 $user = \dokuwiki\Utf8\PhpString::strtolower($user);
641 $groups = array_map([\dokuwiki\Utf8\PhpString::class, 'strtolower'], $groups);
667 $acl[1] = \dokuwiki\Utf8\PhpString::strtolower($acl[1]);
697 $acl[1] = \dokuwiki\Utf8\PhpString::strtolower($acl[1]);
H A Dsearch.php217 $info['file'] = \dokuwiki\Utf8\PhpString::basename($file);
555 $item['file'] = \dokuwiki\Utf8\PhpString::basename($file);
H A DMailer.class.php85 $name = \dokuwiki\Utf8\PhpString::basename($path);
559 if(\dokuwiki\Utf8\PhpString::strlen($conf['title']) < 20) {
562 $prefix = '['.\dokuwiki\Utf8\PhpString::substr($conf['title'], 0, 20).'...]';
H A Dpageutils.php52 \dokuwiki\Utf8\PhpString::basename($INPUT->server->str('SCRIPT_FILENAME'));
138 $id = \dokuwiki\Utf8\PhpString::strtolower($id);
H A Dio.php626 $name = \dokuwiki\Utf8\PhpString::basename($match[1]);
H A Dmedia.php18 use dokuwiki\Utf8\PhpString; alias
259 $data['name'] = PhpString::basename($file);
H A DJpegMeta.php1305 …$this->_info['file']['Name'] = utf8_decodeFN(\dokuwiki\Utf8\PhpString::basename($this->_fileName));
1398 $this->_info['file']['Name'] = \dokuwiki\Utf8\PhpString::basename($this->_fileName);
/dokuwiki/inc/Action/
H A DSitemap.php7 use dokuwiki\Utf8\PhpString; alias
52 header('Content-Disposition: attachment; filename=' . PhpString::basename($sitemap));
/dokuwiki/inc/Ui/Media/
H A DDisplayRow.php5 use dokuwiki\Utf8\PhpString; alias
79 if (PhpString::strlen($d) > 250) $d = PhpString::substr($d, 0, 250) . '...';
/dokuwiki/inc/parser/
H A Dcode.php24 $filename = \dokuwiki\Utf8\PhpString::basename($filename);
H A Dxhtml.php1592 $title = $this->_xmlEntities(\dokuwiki\Utf8\PhpString::basename(noNS($src)));
1629 … return $this->_xmlEntities($title ? $title : \dokuwiki\Utf8\PhpString::basename(noNS($src)));
1653 $title = \dokuwiki\Utf8\PhpString::basename(noNS($src));
1674 $ret .= $this->_xmlEntities(\dokuwiki\Utf8\PhpString::basename(noNS($src)));
1838 : $this->_xmlEntities(\dokuwiki\Utf8\PhpString::basename(noNS($file)));
1905 …$title = $atts['title'] ? $atts['title'] : $this->_xmlEntities(\dokuwiki\Utf8\PhpString::basename(…
H A Dmetadata.php96 … $this->doc = \dokuwiki\Utf8\PhpString::substr($this->doc, 0, self::ABSTRACT_MAX).'…';
/dokuwiki/inc/ChangeLog/
H A DChangeLogTrait.php5 use dokuwiki\Utf8\PhpString; alias
62 'sum' => PhpString::substr(str_replace($strip, '', $info['sum']), 0, 255),
/dokuwiki/lib/plugins/authad/
H A Dauth.php303 $group = \dokuwiki\Utf8\PhpString::strtolower(trim($group));
328 $domain = \dokuwiki\Utf8\PhpString::strtolower(trim($domain));
329 $user = \dokuwiki\Utf8\PhpString::strtolower(trim($user));
/dokuwiki/bin/
H A Ddwpage.php213 $localfile = getcwd() . '/' . \dokuwiki\Utf8\PhpString::basename($wiki_fn);
/dokuwiki/inc/Utf8/
H A DPhpString.php8 class PhpString class
/dokuwiki/inc/Ui/
H A DSearch.php7 use dokuwiki\Utf8\PhpString; alias
499 if ($cleanedQuery === PhpString::strtolower($parsedQuery['query'])) {
/dokuwiki/lib/exe/
H A Djs.php179 $base = \dokuwiki\Utf8\PhpString::basename($ifile);
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php920 $name = \dokuwiki\Utf8\PhpString::basename($match[1]);
960 $file = \dokuwiki\Utf8\PhpString::basename($file);
/dokuwiki/inc/Search/
H A DIndexer.php516 \dokuwiki\Utf8\PhpString::strtolower($word) : strtolower($word);