Home
last modified time | relevance | path

Searched refs:trim (Results 26 – 50 of 86) sorted by last modified time

1234

/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php60 $arr[$j] = trim($arr[$j]);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingOnoff.php21 if (trim($value) === '') return 0;
/dokuwiki/inc/parser/
H A Dmetadata.php99 $this->doc = trim($this->doc);
714 } elseif (is_null($title) || trim($title) == '') {
/dokuwiki/inc/
H A Dinfoutils.php55 if (is_string($resp) && ($resp == '' || str_ends_with(trim($resp), '%'))) {
86 $version['date'] = trim(io_readFile(DOKU_INC . 'VERSION'));
104 $headCommit = trim(file_get_contents(DOKU_INC . '.git/HEAD'));
110 $headCommit = trim(file_get_contents($pathToHead));
H A Dauth.php144 $line = trim($line);
634 $members = array_map('trim', $members);
979 $login = trim($auth->cleanUser($INPUT->post->str('login')));
980 $fullname = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $INPUT->post->str('fullname')));
981 $email = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $INPUT->post->str('email')));
1068 $changes['name'] = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $changes['name']));
1069 $changes['mail'] = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $changes['mail']));
1266 $user = trim($auth->cleanUser($INPUT->post->str('login')));
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php865 [$key, $value] = sexplode('=', trim($line, DOKU_LF), 2, '');
866 $key = trim($key);
867 $value = trim($value);
1309 $line = trim(preg_replace('/#.*$/', '', $line));
H A Drepository.php218 $parameters['q'] = trim($q);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1432 $this->server_identifier = trim($temp, "\r\n");
/dokuwiki/inc/Parsing/Handler/
H A DBlock.php92 if (trim($content) == '') {
/dokuwiki/vendor/simplepie/simplepie/src/
H A DFile.php132 $this->body = trim($parser->body);
209 switch (strtolower(trim($this->headers['content-encoding'], "\x09\x0A\x0D\x20"))) {
217 $this->body = trim($decoder->data);
249 if (empty($url) || !($this->body = trim(file_get_contents($url)))) {
H A DSanitize.php298 $domain = trim($domain, ". \t\n\r\0\x0B");
319 $domain = trim($domain, '. ');
345 $data = trim($data);
446 $data = trim($document->saveHTML($div));
H A DSimplePie.php2039 switch (trim($this->data['child'][self::NAMESPACE_RSS_20]['rss'][0]['attribs']['']['version'])) {
2043 switch (trim($this->data['child'][self::NAMESPACE_RSS_20]['rss'][0]['child'][self::NAMESPACE_RSS_20]['skiphours']['hour'][0]['data'])) {
2783 } elseif (($return = $this->get_channel_tags(self::NAMESPACE_GEORSS, 'point')) && preg_match('/^((?:-)?[0-9]+(?:\.[0-9]+)) ((?:-)?[0-9]+(?:\.[0-9]+))$/', trim($return[0]['data']), $match)) {
2808 } elseif (($return = $this->get_channel_tags(self::NAMESPACE_GEORSS, 'point')) && preg_match('/^((?:-)?[0-9]+(?:\.[0-9]+)) ((?:-)?[0-9]+(?:\.[0-9]+))$/', trim($return[0]['data']), $match)) {
H A DSource.php430 } elseif (($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_GEORSS, 'point')) && preg_match('/^((?:-)?[0-9]+(?:\.[0-9]+)) ((?:-)?[0-9]+(?:\.[0-9]+))$/', trim($return[0]['data']), $match)) {
443 } elseif (($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_GEORSS, 'point')) && preg_match('/^((?:-)?[0-9]+(?:\.[0-9]+)) ((?:-)?[0-9]+(?:\.[0-9]+))$/', trim($return[0]['data']), $match)) {
/dokuwiki/inc/Remote/
H A DApi.php152 if (!$conf['remote'] || trim($conf['remoteuser']) == '!!not set!!') {
172 if (trim($conf['remoteuser']) === '') return; // all users are allowed
H A DApiCore.php669 if (!page_exists($page) && trim($TEXT) == '') {
/dokuwiki/bin/
H A Ddwpage.php189 $key = trim(array_shift($args));
191 echo trim(json_encode($meta, JSON_PRETTY_PRINT));
249 $message = trim($message);
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php
/dokuwiki/inc/Sitemap/
H A DItem.php47 $id = trim($id);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DMBOXCreator.php58 return trim($output);
/dokuwiki/inc/Subscriptions/
H A DSubscriberManager.php46 $user = auth_nameencode(trim($user));
47 $style = trim($style);
48 $data = trim($data);
194 $line = trim($line) . " every\n";
275 $data['addresslist'] = trim($addresslist . ',' . implode(',', $result), ',');
/dokuwiki/inc/Ui/
H A DMediaDiff.php245 $rev1Title = trim($this->RevInfo1->showRevisionTitle() . ' ' . $this->RevInfo1->showCurrentIndicator());
249 $rev2Title = trim($this->RevInfo2->showRevisionTitle() . ' ' . $this->RevInfo2->showCurrentIndicator());
H A DPageDiff.php194 $rev1Title = trim($this->RevInfo1->showRevisionTitle() . ' ' . $this->RevInfo1->showCurrentIndicator());
203 $rev2Title = trim($this->RevInfo2->showRevisionTitle() . ' ' . $this->RevInfo2->showCurrentIndicator());
H A DSearch.php218 'and' => array_map(static fn($term) => trim($term, '*'), $this->parsedQuery['and']),
219 'not' => array_map(static fn($term) => trim($term, '*'), $this->parsedQuery['not']),
223 'and' => array_map(static fn($term) => trim($term, '*') . '*', $this->parsedQuery['and']),
224 'not' => array_map(static fn($term) => trim($term, '*') . '*', $this->parsedQuery['not']),
228 'and' => array_map(static fn($term) => '*' . trim($term, '*'), $this->parsedQuery['and']),
229 'not' => array_map(static fn($term) => '*' . trim($term, '*'), $this->parsedQuery['not']),
233 'and' => array_map(static fn($term) => '*' . trim($term, '*') . '*', $this->parsedQuery['and']),
234 'not' => array_map(static fn($term) => '*' . trim($term, '*') . '*', $this->parsedQuery['not']),
/dokuwiki/
H A Ddoku.php28 $ACT = trim(strtolower($_SERVER['HTTP_X_DOKUWIKI_DO']));
42 $QUERY = trim($INPUT->str('q'));
/dokuwiki/inc/Utf8/
H A DPhpString.php24 $path = trim($path, '\\/');
232 * Unicode aware replacement for trim()
237 * @see trim()
241 public static function trim($str, $charlist = '')
243 if ($charlist === '') return trim($str);
250 public static function trim($str, $charlist = '') global() function in dokuwiki\\Utf8\\PhpString

1234