Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 49) sorted by relevance

12

/dokuwiki/inc/Utf8/
H A DClean.php11 * Checks if a string contains 7bit ASCII only
15 * @param string $str
24 * Tries to detect if a string is in Unicode encoding
29 * @param string $str
56 * Returns a pure ASCII7 string
60 * @param string $str
61 * @return string
76 * Removes special characters (nonalphanumeric) from a UTF-8 string
83 * @param string $string Th
88 stripspecials($string, $repl = '', $additional = '') global() argument
151 deaccent($string, $case = 0) global() argument
170 romanize($string) global() argument
[all...]
H A DPhpString.php6 * UTF-8 aware equivalents to PHP's string functions
15 * @param string $path A path
16 * @param string $suffix If the name component ends in suffix this will also be cut off
17 * @return string
44 * @param string $string
51 public static function strlen($string)
54 return mb_strlen($string, 'UTF-8');
58 return iconv_strlen($string, 'UTF-8');
63 return strlen(utf8_decode($string));
52 strlen($string) global() argument
190 substr_replace($string, $replacement, $start, $length = 0) global() argument
269 strtolower($string) global() argument
293 strtoupper($string) global() argument
[all...]
H A DTable.php79 * Get the special chars as a concatenated string
80 * @return string
84 static $string = null;
85 if ($string === null) {
88 $string = Unicode::toUtf8($table);
90 return $string;
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php36 * Generator string
78 * Get the version string for the generator
80 * @return string
88 * Truncates a string to a certain length at the most sensible point.
89 * First, if there's a '.' character near the end of the string, the string is truncated after this character.
90 * If there is no '.', the string is truncated after the last ' ' character.
91 * If the string is truncated, " ..." is appended.
92 * If the string is already shorter than $length, it is returned unchanged.
94 * @param string
95 iTrunc($string, $length) global() argument
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DNameFilter.php61 * The returning name MUST be a string of at least one character
71 * @param string $name The name for the cache will be most likly an url with query string
73 * @return string the new cache name
75 public function filter(string $name): string;
H A DDataCache.php70 * public function get(string $key, mixed $default = null): mixed;
73 * @param string $key The unique key of this item in the cache.
79 * MUST be thrown if the $key string is not a legal value.
81 public function get_data(string $key, $default = null);
88 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
91 * @param string $key The key of the item to store.
100 * MUST be thrown if the $key string is not a legal value.
102 public function set_data(string $key, array $value, ?int $ttl = null): bool;
109 * public function delete(string $key): bool;
112 * @param string
[all...]
H A DCallableNameFilter.php71 * The returning name MUST be a string of at least one character
81 * @param string $name The name for the cache will be most likly an url with query string
83 * @return string the new cache name
85 public function filter(string $name): string
H A DPsr16.php82 * public function get(string $key, mixed $default = null): mixed;
85 * @param string $key The unique key of this item in the cache.
91 * MUST be thrown if the $key string is not a legal value.
93 public function get_data(string $key, $default = null)
109 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
112 * @param string $key The key of the item to store.
121 * MUST be thrown if the $key string is not a legal value.
123 public function set_data(string $key, array $value, ?int $ttl = null): bool
133 * public function delete(string $key): bool;
136 * @param string
[all...]
H A DBaseDataCache.php74 * public function get(string $key, mixed $default = null): mixed;
77 * @param string $key The unique key of this item in the cache.
83 * MUST be thrown if the $key string is not a legal value.
85 public function get_data(string $key, $default = null)
114 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
117 * @param string $key The key of the item to store.
126 * MUST be thrown if the $key string is not a legal value.
128 public function set_data(string $key, array $value, ?int $ttl = null): bool
145 * public function delete(string $key): bool;
148 * @param string
[all...]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php15 /** @var string border between columns */
47 * @return string
58 * @param string $border
129 if ((string)intval($col) === (string)$col) {
184 * @param string[] $texts list of texts for each column
185 * @param array $colors A list of color names to use for each column. use empty string for default
186 * @return string
232 * Pad the given string to the correct length
234 * @param string
238 pad($string, $len) global() argument
253 strlen($string) global() argument
271 substr($string, $start = 0, $length = null) global() argument
[all...]
H A DPSR3CLIv3.php20 public function log($level, string|\Stringable $message, array $context = []): void
H A DBase.php17 /** @var string the executed script itself */
82 /** @var string default log level */
227 * @param string $level
242 * @param string $level
254 * @param \Exception|string $error either an exception or an error message
279 * @param string $string
282 public function success($string, array $context = array())
284 $this->logMessage('success', $string, $context);
288 * @param string
213 success($string, array $context = array()) global() argument
[all...]
/dokuwiki/vendor/splitbrain/php-jsstrip/src/
H A DJSStrip.php40 * @param string $source The JavaScript code to compress
41 * @return string
48 $idx = 0; // char index for input string
55 $j = 0; // char forward index for input string
56 $slen = strlen($source); // size of input string
157 $string = substr($source, $idx, $j + 1);
159 $string = str_replace("\\\n", '', $string);
160 $result .= $string;
175 $string
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php60 * @var string
564 * @var string
572 * @var string
638 * @param string $date Date to parse
639 * @return int Timestamp corresponding to date string, or false on failure
753 * @param string $data Data to strip comments from
754 * @return string Comment stripped string
756 public function remove_rfc2822_comments($string) argument
758 $string
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php94 * Get a HTML/XML element from a HTML string
97 * @param string $realname Element name (including namespace prefix if applicable)
98 * @param string $string HTML document
101 public static function get_element($realname, $string) argument
107 if (preg_match_all("/<($name)" . \SimplePie\SimplePie::PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
226 'scheme' => (string) $iri->scheme,
227 'authority' => (string) $iri->authority,
228 'path' => (string) $iri->path,
229 'query' => (string)
268 windows_1252_to_utf8($string) global() argument
1752 uncomment_rfc822($string) global() argument
1877 is_isegment_nz_nc($string) global() argument
1882 space_separated_tokens($string) global() argument
[all...]
H A DIRI.php64 * @var string
71 * @var string
78 * @var string
85 * @var string
92 * @var string
99 * @var string
106 * @var string
137 * Return the entire IRI when you try and read the object as a string
139 * @return string
149 * @param string
408 replace_invalid_with_pct_encoding($string, $extra_chars, $iprivate = false) global() argument
1008 to_uri($string) global() argument
[all...]
H A DParser.php348 public function split_ns($string) argument
351 if (!isset($cache[$string])) {
352 if ($pos = strpos($string, $this->separator)) {
357 $namespace = substr($string, 0, $pos);
358 $local_name = substr($string, $pos + $separator_length);
371 $cache[$string] = [$namespace, $local_name];
373 $cache[$string] = ['', $string];
376 return $cache[$string];
587 // The title and description are set to the empty string t
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php60 * @var string
130 * @param string $key_blob
144 * @param string $type optional
155 * @param string $hash
208 * @param string $padding
226 * @param string $format
243 * Returns a string if it's a named curve, an array if not
245 * @return string|array
261 * @param string $message
262 * @return string
235 _string_shift(& $string, $index = 1) global() argument
[all...]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingArray.php11 * Create an array from a string
13 * @param string $string
16 protected function fromString($string) argument
18 $array = explode(',', $string);
26 * Create a string from an array
29 * @return string
40 * @param string $input
H A DSetting.php12 /** @var string unique identifier of this setting */
37 * @param string $key
129 * @return string
140 * @return string
161 * @return string key
177 * @return string
195 * @return string[] with content array(string $label_html, string $input_html)
236 * @param string
229 escape($string) global() argument
[all...]
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DIntrospectionServer.php31 ['array', 'string'],
49 ['string', 'string'],
50 'Returns a documentation string for the specified method'
96 case 'string':
137 case 'string':
138 $return[] = 'string';
/dokuwiki/lib/plugins/revert/lang/en/
H A Dintro.txt3 This page helps you with the automatic reversion of a spam attack. To find a list of spammy pages first enter a search string (eg. a spam URL), then confirm that the found pages are really spam and revert the edits.
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php61 * @param string $data The popularity data
62 * @return string An empty string if everything worked fine, a string describing the error otherwise
91 * @return string The popularity data as a string
96 $string = '';
99 $string .= hsc($key) . "\t" . hsc($v) . "\n";
101 $string .= hsc($key) . "\t" . hsc($val) . "\n";
104 return $string;
[all...]
/dokuwiki/inc/
H A Dcommon.php29 * @param string $string the string being converted
30 * @return string converted string
32 function hsc($string)
34 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8');
41 * If the $input string does not contain enough elements, the missing elements will be
42 * filled up with the $default value. If the input string contains more elements, the last
45 * @param string
28 hsc($string) global() argument
47 sexplode($separator, $string, $limit, $default = null) global() argument
88 ptln($string, $indent = 0) global() argument
100 stripctl($string) global() argument
1540 unslash($string, $char = ''') global() argument
1579 preg_quote_cb($string) global() argument
[all...]
/dokuwiki/lib/exe/
H A Djs.php173 * @param string $file filename path to file
278 * @param string $tpl
320 * @param string $string
321 * @return string
325 function js_escape($string)
327 return str_replace('\\\\n', '\\n', addslashes($string));
333 * @param string $func
319 js_escape($string) global() argument

12