Home
last modified time | relevance | path

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

12345

/dokuwiki/_test/tests/Remote/
H A DXmlRpcServerTest.php67 $this->assertXmlStringEqualsXmlString(trim($expected), trim($this->server->output));
107 $this->assertXmlStringEqualsXmlString(trim($expected), trim($this->server->output));
145 $this->assertXmlStringEqualsXmlString(trim($expected), trim($this->server->output));
/dokuwiki/inc/Remote/OpenApiDoc/
H A DDocBlock.php34 $docblock = trim(preg_replace(
44 $tags[$match[1]][] = trim($match[2]);
55 $this->summary = trim($summary);
56 $this->description = trim($description);
H A DDocBlockMethod.php77 [$type, $name, $description] = array_map(trim(...), sexplode(' ', $param, 3, ''));
106 [$type, $description] = array_map(trim(...), sexplode(' ', $return, 2, ''));
H A DDocBlockProperty.php46 [$type, $description] = array_map(trim(...), sexplode(' ', $this->tags['var'][0], 2, ''));
/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));
148 $value = (int)trim($this->_currentTagContents);
152 $value = (float)trim($this->_currentTagContents);
160 $value = new Date(trim($this->_currentTagContents));
165 if (trim($this->_currentTagContents) != '') {
171 $value = (bool)trim($this->_currentTagContents);
189 $this->_currentStructName[] = trim($this->_currentTagContents);
192 $this->methodName = trim($this->_currentTagContents);
/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php29 $user = array_filter(array_map(trim(...), $user));
30 $style = array_filter(array_map(trim(...), $style));
31 $data = array_filter(array_map(trim(...), $data));
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/lib/plugins/usermanager/
H A Dremote.php52 $user = trim($auth->cleanUser($user));
53 $name = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $name));
54 $mail = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $mail));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPuTTY.php179 $key = preg_split('#\r\n|\r|\n#', trim($key));
194 $encryption = trim(preg_replace('#Encryption: (.+)#', '$1', $key[1]));
195 $components['comment'] = trim(preg_replace('#Comment: (.+)#', '$1', $key[2]));
197 $publicLength = trim(preg_replace('#Public-Lines: (\d+)#', '$1', $key[3]));
224 … $flavour = trim(preg_replace('#Key-Derivation: (.*)#', '$1', $key[$offset++]));
225 … $memory = trim(preg_replace('#Argon2-Memory: (\d+)#', '$1', $key[$offset++]));
226 … $passes = trim(preg_replace('#Argon2-Passes: (\d+)#', '$1', $key[$offset++]));
227 … $parallelism = trim(preg_replace('#Argon2-Parallelism: (\d+)#', '$1', $key[$offset++]));
228 … $salt = Strings::hex2bin(trim(preg_replace('#Argon2-Salt: ([0-9a-f]+)#', '$1', $key[$offset++])));
253 $privateLength = trim(preg_replace('#Private-Lines: (\d+)#', '$1', $key[$offset++]));
[all …]
/dokuwiki/inc/
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);
485 $idx = array_search(trim(substr($val, 1)), $current);
490 $current[] = trim($val);
H A DInfo.php45 $return['codename'] = trim($return['codename'], ' "');
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($this->headers['Bcc']) === ''
[all …]
H A Dcompatibility.php20 if (trim($text) === '') return true;
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DJSCreator.php25 $jsFeed .= "document.write('".trim(addslashes($value))."');\n";
/dokuwiki/_test/tests/Feed/
H A DFeedCreatorValidationTest.php53 $show = trim($lines[$line - 1]);
71 $show = trim($lines[$line - 1]);
/dokuwiki/lib/plugins/extension/
H A DManager.php68 $key = trim($key);
69 $value = trim($value);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingImConvert.php15 $input = trim($input);
/dokuwiki/inc/HTTP/
H A DHeaders.php22 $values = array_map(trim(...), $values);
/dokuwiki/_test/tests/inc/
H A Dutf8_romanize.test.php19 list($jap,$rom) = explode(';',trim($test));
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DTar.php637 if(trim($block) === '') return false;
655 $return['checksum'] = OctDec(trim($header['checksum']));
660 $return['filename'] = trim($header['filename']);
661 $return['perm'] = OctDec(trim($header['perm']));
662 $return['uid'] = OctDec(trim($header['uid']));
663 $return['gid'] = OctDec(trim($header['gid']));
667 $return['link'] = trim($header['link']);
668 $return['uname'] = trim($header['uname']);
669 $return['gname'] = trim($header['gname']);
672 if (trim($header['prefix'])) {
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DLocator.php202 …$base = $this->registry->call(Misc::class, 'absolutize_url', [trim($element->getAttribute('href'))…
254 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
256 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
299 $href = trim($link->getAttribute('href'));
303 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
305 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
352 $href = trim($link->getAttribute('href'));
361 [trim($link->getAttribute('href')), $this->base]
367 [trim($link->getAttribute('href')), $this->http_base]
/dokuwiki/inc/Utf8/
H A DPhpString.php24 $path = trim($path, '\\/');
237 * @see trim()
241 public static function trim($str, $charlist = '') function in dokuwiki\\Utf8\\PhpString
243 if ($charlist === '') return trim($str);
/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
/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']),

12345