Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 86) sorted by relevance

1234

/dokuwiki/vendor/kissifrot/php-ixr/src/Message/
H A DMessage.php37 $this->message = trim(substr_replace($this->message, $header, 0, 100));
44 $this->message = trim(substr_replace($this->message, $header, 0, 200));
145 $value = (int)trim($this->_currentTagContents);
149 $value = (double)trim($this->_currentTagContents);
157 $value = new Date(trim($this->_currentTagContents));
162 if (trim($this->_currentTagContents) != '') {
168 $value = (boolean)trim($this->_currentTagContents);
186 $this->_currentStructName[] = trim($this->_currentTagContents);
189 $this->methodName = trim($this->_currentTagContents);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DJSCreator.php25 $jsFeed .= "document.write('".trim(addslashes($value))."');\n";
/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), ',');
H A DSubscriptionSender.php34 $listid = strtolower(trim($listid, '.'));
/dokuwiki/inc/
H A DInfo.php45 $return['codename'] = trim($return['codename'], ' "');
H A Dconfutils.php147 $line = trim(preg_replace('/#.*$/', '', $line));
150 $key = trim($key);
151 $val = trim($val);
204 $schemes = array_map('trim', $schemes);
236 $line = trim($line);
370 $disabled = array_map('trim', $disabled);
491 $idx = array_search(trim(substr($val, 1)), $current);
496 $current[] = trim($val);
H A DMailer.class.php53 $listid = strtolower(trim($listid, '.'));
161 $value = array_map('trim', $value);
165 $value = trim($value);
352 $name = trim($name, " \t\"");
393 $part = trim($part);
397 $text = trim($matches[1]);
443 $headers = trim($headers);
745 trim($this->headers['To']) === '' &&
746 trim($this->headers['Cc']) === '' &&
747 trim(
[all...]
H A Dcompatibility.php20 if (trim($text) === '') return true;
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 Dcommon.php71 * @param bool $trim Consider a string of whitespace to be blank
74 function blank(&$in, $trim = false)
79 if ($trim && trim($in) === '') return true;
115 if (trim($user) == '' || trim($session) == '') return '';
757 $block = trim($block);
904 $hosts[] = gethostbyaddr(trim($ip));
908 return gethostbyaddr(trim($ips));
1413 $q = trim(
69 blank(& $in, $trim = false) global() argument
[all...]
/dokuwiki/inc/Debug/
H A DDebugHelper.php75 return trim($thing, ':');
96 $caller = trim($call['class'] . '::' . $call['function'] . '()', ':');
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DTar.php590 if(trim($block) === '') return false;
608 $return['checksum'] = OctDec(trim($header['checksum']));
613 $return['filename'] = trim($header['filename']);
614 $return['perm'] = OctDec(trim($header['perm']));
615 $return['uid'] = OctDec(trim($header['uid']));
616 $return['gid'] = OctDec(trim($header['gid']));
617 $return['size'] = OctDec(trim($header['size']));
618 $return['mtime'] = OctDec(trim($header['mtime']));
620 $return['link'] = trim($header['link']);
621 $return['uname'] = trim(
[all...]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingImConvert.php15 $input = trim($input);
H A DSettingOnoff.php21 if (trim($value) === '') return 0;
/dokuwiki/vendor/simplepie/simplepie/src/
H A DLocator.php174 $base = $this->registry->call(Misc::class, 'absolutize_url', [trim($element->getAttribute('href')), $this->http_base]);
216 $href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $this->base]);
218 $href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $this->http_base]);
250 $href = trim($link->getAttribute('href'));
254 $href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $this->base]);
256 $href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $this->http_base]);
294 $href = trim($link->getAttribute('href'));
303 [trim($link->getAttribute('href')), $this->base]
309 [trim($link->getAttribute('href')), $this->http_base]
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)))) {
/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
/dokuwiki/inc/Parsing/Handler/
H A DPreformatted.php36 if (trim($this->text)) {
/dokuwiki/inc/Ui/
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/parser/
H A Dcode.php42 echo trim($text, "\r\n");
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DParser.php261 $this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20");
271 $this->value = trim($this->value, "\x0D\x20");
446 if (!preg_match('/^([0-9a-f]+)[^\r\n]*\r\n/i', trim($this->body))) {
462 $length = hexdec(trim($matches[1]));
477 if (trim($encoded) === '0' || empty($encoded)) {
/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/inc/Sitemap/
H A DItem.php47 $id = trim($id);
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php60 $arr[$j] = trim($arr[$j]);

1234