Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 103) 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);
/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));
144 $value = (int)trim($this->_currentTagContents);
148 $value = (double)trim($this->_currentTagContents);
156 $value = new Date(trim($this->_currentTagContents));
161 if (trim($this->_currentTagContents) != '') {
167 $value = (boolean)trim($this->_currentTagContents);
185 $this->_currentStructName[] = trim($this->_currentTagContents);
188 $this->methodName = trim($this->_currentTagContents);
/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++])));
250 $privateLength = trim(preg_replace('#Private-Lines: (\d+)#', '$1', $key[$offset++]));
[all …]
/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/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/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);
236 $line = trim($line);
491 $idx = array_search(trim(substr($val, 1)), $current);
496 $current[] = trim($val);
H A DMailer.class.php53 $listid = strtolower(trim($listid, '.'));
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']) === ''
773 if (trim($data['headers'])) {
[all …]
/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);
H A DSettingOnoff.php21 if (trim($value) === '') return 0;
/dokuwiki/vendor/simplepie/simplepie/src/
H A DLocator.php173 …$base = $this->registry->call(Misc::class, 'absolutize_url', [trim($element->getAttribute('href'))…
215 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
217 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
249 $href = trim($link->getAttribute('href'));
253 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
255 …$href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $…
293 $href = trim($link->getAttribute('href'));
302 [trim($link->getAttribute('href')), $this->base]
308 [trim($link->getAttribute('href')), $this->http_base]
/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/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']),
/dokuwiki/inc/Debug/
H A DDebugHelper.php75 return trim($thing, ':');
96 $caller = trim($call['class'] . '::' . $call['function'] . '()', ':');
/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.php260 $this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20");
270 $this->value = trim($this->value, "\x0D\x20");
445 if (!preg_match('/^([0-9a-f]+)[^\r\n]*\r\n/i', trim($this->body))) {
461 $length = hexdec(trim($matches[1]));
476 if (trim($encoded) === '0' || empty($encoded)) {

12345