Home
last modified time | relevance | path

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

12

/dokuwiki/inc/
H A Dutf8.php14 use dokuwiki\Utf8\PhpString; alias
84 dbg_deprecated(PhpString::class . '::basename()');
85 return PhpString::basename($path, $suffix);
93 dbg_deprecated(PhpString::class . '::strlen()');
94 return PhpString::strlen($str);
102 dbg_deprecated(PhpString::class . '::substr()');
103 return PhpString::substr($str, $offset, $length);
111 dbg_deprecated(PhpString::class . '::substr_replace()');
112 return PhpString::substr_replace($string, $replacement, $start, $length);
120 dbg_deprecated(PhpString::class . '::ltrim()');
[all …]
H A Dfetch.functions.php4 use dokuwiki\Utf8\PhpString; alias
83 PhpString::basename($orig)
88 PhpString::basename($orig)
H A Dfulltext.php14 use dokuwiki\Utf8\PhpString; alias
110 $text = PhpString::strtolower($evdata['text']);
396 $pos = PhpString::strpos(
397 PhpString::strtolower($title),
398 PhpString::strtolower($search)
470 $len = PhpString::strlen($text);
500 $utf8_idx = PhpString::strlen(substr($text, 0, $idx));
501 $utf8_len = PhpString::strlen($str);
531 … $snippets[count($snippets) - 1] .= PhpString::substr($text, $append, $end - $append);
533 $snippets[] = PhpString::substr($text, $start, $end - $start);
[all …]
H A Dcommon.php14 use dokuwiki\Utf8\PhpString; alias
1141 PhpString::ucfirst(curNS($id)),
1142 PhpString::ucwords(curNS($id)),
1143 PhpString::strtoupper(curNS($id)),
1145 PhpString::ucfirst($file),
1146 PhpString::strtoupper($file),
1148 PhpString::ucfirst($page),
1149 PhpString::ucwords($page),
1150 PhpString::strtoupper($page),
1592 $max -= PhpString::strlen($keep);
[all …]
H A Dauth.php16 use dokuwiki\Utf8\PhpString; alias
652 $user = PhpString::strtolower($user);
653 $groups = array_map([PhpString::class, 'strtolower'], $groups);
667 if (!$auth->isCaseSensitive()) $member = PhpString::strtolower($member);
759 $user = PhpString::strtolower($user);
760 $groups = array_map([PhpString::class, 'strtolower'], $groups);
786 $acl[1] = PhpString::strtolower($acl[1]);
816 $acl[1] = PhpString::strtolower($acl[1]);
H A Dsearch.php10 use dokuwiki\Utf8\PhpString; alias
223 $info['file'] = PhpString::basename($file);
570 $item['file'] = PhpString::basename($file);
H A DMailer.class.php13 use dokuwiki\Utf8\PhpString; alias
86 $name = PhpString::basename($path);
578 if (PhpString::strlen($conf['title']) < 20) {
581 $prefix = '[' . PhpString::substr($conf['title'], 0, 20) . '...]';
H A Dpageutils.php11 use dokuwiki\Utf8\PhpString; alias
56 PhpString::basename($INPUT->server->str('SCRIPT_FILENAME'));
142 $id = PhpString::strtolower($id);
/dokuwiki/inc/Action/
H A DSitemap.php7 use dokuwiki\Utf8\PhpString; alias
54 header('Content-Disposition: attachment; filename=' . PhpString::basename($sitemap));
/dokuwiki/_test/tests/inc/
H A Dutf8_substr.test.php24 … $this->assertEquals(\dokuwiki\Utf8\PhpString::substr($test[0],$test[1],$test[2]),$test[3]);
37 … $this->assertEquals(\dokuwiki\Utf8\PhpString::substr($test[0],$test[1],$test[2]),$test[3]);
H A Dutf8_basename.test.php87 …$this->assertEquals($test[2], \dokuwiki\Utf8\PhpString::basename($test[0], $test[1]), "input: ('".…
H A Dutf8_strtolower.test.php31 $this->assertEquals($expected, \dokuwiki\Utf8\PhpString::strtolower($input));
/dokuwiki/inc/Ui/Media/
H A DDisplayRow.php5 use dokuwiki\Utf8\PhpString; alias
78 if (PhpString::strlen($d) > 250) $d = PhpString::substr($d, 0, 250) . '...';
/dokuwiki/inc/parser/
H A Dcode.php4 use dokuwiki\Utf8\PhpString; alias
30 $filename = PhpString::basename($filename);
H A Dxhtml.php7 use dokuwiki\Utf8\PhpString; alias
1702 $title = $this->_xmlEntities(PhpString::basename(noNS($src)));
1741 return $this->_xmlEntities($title ?: PhpString::basename(noNS($src)));
1764 $title = PhpString::basename(noNS($src));
1787 $ret .= $this->_xmlEntities(PhpString::basename(noNS($src)));
1954 ? $this->_xmlEntities(PhpString::basename(noNS($file)))
2023 $title = $atts['title'] ?: $this->_xmlEntities(PhpString::basename(noNS($file)));
H A Dmetadata.php5 use dokuwiki\Utf8\PhpString; alias
101 $this->doc = PhpString::substr($this->doc, 0, self::ABSTRACT_MAX) . '…';
/dokuwiki/inc/Remote/OpenApiDoc/
H A DOpenAPIGenerator.php8 use dokuwiki\Utf8\PhpString; alias
191 'tags' => [PhpString::ucwords($call->getCategory())],
335 $name = PhpString::ucwords($name);
/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/extension/
H A DInstaller.php7 use dokuwiki\Utf8\PhpString; alias
282 $file = $file ? PhpString::basename($file) : md5($url);
309 $file = PhpString::basename($match[1]);
432 $base = PhpString::basename($file);
H A DExtension.php6 use dokuwiki\Utf8\PhpString; alias
249 return $this->getTag('name', PhpString::ucwords($this->getBase() . ' ' . $this->getType()));
/dokuwiki/bin/
H A Ddwpage.php6 use dokuwiki\Utf8\PhpString; alias
217 $localfile = getcwd() . '/' . PhpString::basename($wiki_fn);
/dokuwiki/lib/exe/
H A Djs.php11 use dokuwiki\Utf8\PhpString; alias
189 $base = PhpString::basename($ifile);
/dokuwiki/lib/plugins/authad/
H A Dauth.php5 use dokuwiki\Utf8\PhpString; alias
311 $group = PhpString::strtolower(trim($group));
336 $domain = PhpString::strtolower(trim($domain));
337 $user = PhpString::strtolower(trim($user));
/dokuwiki/inc/Remote/
H A DLegacyApiCore.php5 use dokuwiki\Utf8\PhpString; alias
262 'file' => PhpString::basename(mediaFN($file->id)),
/dokuwiki/inc/Utf8/
H A DPhpString.php8 class PhpString class

12