Home
last modified time | relevance | path

Searched full:clean (Results 1 – 25 of 60) sorted by relevance

123

/dokuwiki/inc/
H A Dutf8.php12 use dokuwiki\Utf8\Clean; alias
56 dbg_deprecated(Clean::class . '::isASCII()');
57 return Clean::isASCII($str);
66 dbg_deprecated(Clean::class . '::strip()');
67 return Clean::strip($str);
75 dbg_deprecated(Clean::class . '::isUtf8()');
76 return Clean::isUtf8($str);
183 dbg_deprecated(Clean::class . '::deaccent()');
184 return Clean::deaccent($str, $case);
192 dbg_deprecated(Clean::class . '::romanize()');
[all …]
H A Dpageutils.php12 use dokuwiki\Utf8\Clean; alias
32 * @param bool $clean if true, ID is cleaned
35 function getID($param = 'id', $clean = true) argument
70 //clean script and request (fixes a windows problem)
106 if ($clean) $id = cleanID($id);
120 * @param string $raw_id The pageid to clean
151 if ($conf['deaccent'] == 2 || $ascii) $id = Clean::romanize($id);
152 if ($conf['deaccent'] || $ascii) $id = Clean::deaccent($id, -1);
155 $id = Clean::stripspecials($id, $sepchar, '\*');
157 if ($ascii) $id = Clean::strip($id);
[all …]
H A DMailer.class.php14 use dokuwiki\Utf8\Clean; alias
149 * @param bool $clean remove all non-ASCII chars and line feeds?
151 public function setHeader($header, $value, $clean = true) argument
154 if ($clean) {
343 * Return a clean name which can be safely used in mail address
347 * @param string $name the name to clean-up
409 if (!Clean::isASCII($addr)) {
425 $text = Clean::deaccent($text);
426 $text = Clean::strip($text);
429 if (strpos($text, ',') !== false || !Clean::isASCII($text)) {
[all …]
H A Dindexer.php11 use dokuwiki\Utf8\Clean; alias
364 * Clean a name of a key for use as a file name.
376 $name = Clean::romanize(trim((string)$name));
/dokuwiki/inc/Cache/
H A DCacheInstructions.php22 * @param bool $clean true to clean line endings, false to leave line endings alone
25 public function retrieveCache($clean = true) argument
H A DCache.php156 * @param bool $clean true to clean line endings, false to leave line endings alone
159 public function retrieveCache($clean = true) argument
161 return io_readFile($this->cache, $clean);
/dokuwiki/_test/tests/inc/
H A Dutf8_romanize.test.php21 $chk = \dokuwiki\Utf8\Clean::romanize($jap);
34 $this->assertEquals("a A a A a o O",\dokuwiki\Utf8\Clean::romanize("å Å ä Ä ä ö Ö"));
41 … $this->assertEquals('kalimera pos eiste',\dokuwiki\Utf8\Clean::romanize('Καλημέρα πώς είστε'));
H A Dutf8_correctidx.test.php18 … $this->assertEquals(\dokuwiki\Utf8\Clean::correctIdx($test[0],$test[1],$test[2]),$test[3]);
36 … $this->assertEquals(\dokuwiki\Utf8\Clean::correctIdx($test[0],$test[1],$test[2]),$test[3]);
56 … $this->assertEquals(\dokuwiki\Utf8\Clean::correctIdx($test[0],$test[1],$test[2]),$test[3]);
72 … $this->assertEquals(\dokuwiki\Utf8\Clean::correctIdx($test[0],$test[1],$test[2]),$test[3]);
H A Dcommon_inlineSVG.test.php10 $clean =
17 $this->assertEquals($clean, inlineSVG($file));
H A Dutf8_stripspecials.test.php35 …$this->assertEquals($expected, \dokuwiki\Utf8\Clean::stripspecials($string, $replacement, $additio…
H A Dparserutils_set_metadata_during_rendering.test.php59 // clean up
/dokuwiki/lib/exe/
H A Dajax.php10 use dokuwiki\Utf8\Clean; alias
25 $call = $INPUT->filter([Clean::class, 'stripspecials'])->str('call');
/dokuwiki/_test/
H A Drector.php188 'utf8_isASCII' => 'dokuwiki\Utf8\Clean::isASCII',
189 'utf8_strip' => 'dokuwiki\Utf8\Clean::strip',
190 'utf8_check' => 'dokuwiki\Utf8\Clean::isUtf8',
202 'utf8_deaccent' => 'dokuwiki\Utf8\Clean::deaccent',
203 'utf8_romanize' => 'dokuwiki\Utf8\Clean::romanize',
204 'utf8_stripspecials' => 'dokuwiki\Utf8\Clean::stripspecials',
212 'utf8_bad_replace' => 'dokuwiki\Utf8\Clean::replaceBadBytes',
213 'utf8_correctIdx' => 'dokuwiki\Utf8\Clean::correctIdx',
/dokuwiki/inc/parser/
H A Dcode.php3 use dokuwiki\Utf8\Clean; alias
31 $filename = Clean::stripspecials($filename, '_');
/dokuwiki/inc/Parsing/Handler/
H A DCallWriterInterface.php22 * Explicit request to finish up and clean up NOW!
/dokuwiki/.github/workflows/
H A DautoFix.yml54 …If you disagree with the changes, simply clean the code yourself and create a new pull request. Th…
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php5 use dokuwiki\Utf8\Clean; alias
899 * Retrieve & clean user data from the form
901 * @param bool $clean whether the cleanUser method of the authentication backend is applied
904 protected function retrieveUser($clean = true) argument
911 $user[0] = ($clean) ? $auth->cleanUser($INPUT->str('userid')) : $INPUT->str('userid');
919 if ($clean) {
1081 if (!Clean::isUtf8($csv)) {
1085 $error = ''; // clean out any errors from the previous line
1097 $clean = $this->cleanImportUser($raw, $error);
1098 if ($clean && $this->importUser($clean, $error)) {
[all …]
/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php28 // clean
/dokuwiki/_test/tests/Ui/
H A DSearchTest.php108 'uppercased pageid with colons should result in clean pageid',
124 'uppercased utf-8 pageid with colons should result in clean pageid',
/dokuwiki/inc/Utf8/tables/
H A Dupperaccents.php10 * @see \dokuwiki\Utf8\Clean::deaccent()
H A Dloweraccents.php10 * @see \dokuwiki\Utf8\Clean::deaccent()
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dbash.php124 'apt-get check', 'apt-get clean', 'apt-get dist-upgrade',
132 'apt-src clean', 'apt-src import', 'apt-src install',
138 'aptitude clean', 'aptitude download', 'aptitude forbid-version',
184 'git clean', 'git clone', 'git commit', 'git commit-tree',
224 'git-cherry-pick', 'git-clean', 'git-clone', 'git-commit',
359 'yum check-update', 'yum clean', 'yum deplist', 'yum erase',
/dokuwiki/inc/Utf8/
H A DClean.php6 * Methods to assess and clean UTF-8 strings
8 class Clean class
/dokuwiki/data/pages/wiki/
H A Ddokuwiki.txt3 …]] software that doesn't require a database. It is loved by users for its clean and readable [[wik…
/dokuwiki/inc/File/
H A DMediaFile.php77 * Similar to the extesion but does some clean up

123