Home
last modified time | relevance | path

Searched refs:string (Results 1 - 25 of 32) 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
154 $string = strtr($string, Table::lowerAccents()); global() variable
157 $string = strtr($string, Table::upperAccents()); global() variable
[all...]
H A DPhpString.php6 * UTF-8 aware equivalents to PHP's string functions
16 * @param string $path A path
17 * @param string $suffix If the name component ends in suffix this will also be cut off
18 * @return string
46 * @param string $string
53 public static function strlen($string)
56 return strlen(utf8_decode($string));
60 return mb_strlen($string, 'UTF-8');
64 return iconv_strlen($string, 'UT
[all...]
H A DTable.php80 * Get the special chars as a concatenated string
81 * @return string
85 static $string = null; variable
86 if ($string === null) {
89 $string = Unicode::toUtf8($table); variable
91 return $string;
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php35 * Generator string
75 * Get the version string for the generator
77 * @return string
85 * Truncates a string to a certain length at the most sensible point.
86 * First, if there's a '.' character near the end of the string, the string is truncated after this character.
87 * If there is no '.', the string is truncated after the last ' ' character.
88 * If the string is truncated, " ..." is appended.
89 * If the string is already shorter than $length, it is returned unchanged.
91 * @param string
103 $string = substr($string, 0, $length - 4); global() variable
112 $string = substr($string, 0, $length - 4); global() variable
[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
256 $string = preg_replace("/\\33\\\\[\\\\d+(;\\\\d+)?m/", '', $string); global() variable
[all...]
H A DCLI.php15 /** @var string the executed script itself */
185 * @param \Exception|string $error either an exception or an error message
210 * @param string $message
226 * @param string $message
239 * @param string $message
251 * @param string $message
265 * @param string $message
276 * @param string $string
279 public function success($string, arra
[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) {
17 $array = explode(',', $string);
25 * Create a string from an array
28 * @return string
38 * @param string $input
65 * @param string $string
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DMisc.php90 * Get a HTML/XML element from a HTML string
93 * @param string $realname Element name (including namespace prefix if applicable)
94 * @param string $string HTML document
97 public static function get_element($realname, $string)
101 if (preg_match_all("/<($name)" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE))
245 'scheme' => (string) $iri->scheme,
246 'authority' => (string) $iri->authority,
247 'path' => (string) $iri->path,
248 'query' => (string)
1798 $string = (string) $string; global() variable
[all...]
H A DIRI.php60 * @var string
67 * @var string
74 * @var string
81 * @var string
88 * @var string
95 * @var string
102 * @var string
133 * Return the entire IRI when you try and read the object as a string
135 * @return string
145 * @param string
465 $string = preg_replace_callback('/(?:%[A-Fa-f0-9]{2})+/', array($this, 'remove_iunreserved_percent_encoded'), $string); global() variable
468 $string = preg_replace('/%(?![A-Fa-f0-9]{2})/', '%25', $string); global() variable
578 $string = substr_replace($string, sprintf('%%%02X', ord($string[$j])), $j, 1); global() variable
607 $string = ''; global() variable
1136 $string = substr_replace($string, sprintf('%%%02X', ord($string[$position])), $position, 1); global() variable
[all...]
H A DParser.php379 public function split_ns($string)
382 if (!isset($cache[$string]))
384 if ($pos = strpos($string, $this->separator))
391 $namespace = substr($string, 0, $pos);
392 $local_name = substr($string, $pos + $separator_length);
407 $cache[$string] = array($namespace, $local_name);
411 $cache[$string] = array('', $string);
414 return $cache[$string];
618 // The title and description are set to the empty string t
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Parse/
H A DDate.php57 * @var string
561 * @var string
569 * @var string
640 * @param string $date Date to parse
641 * @return int Timestamp corresponding to date string, or false on failure
758 * @param string $data Data to strip comments from
759 * @return string Comment stripped string
761 public function remove_rfc2822_comments($string)
763 $string variable
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php58 * @var string
115 * @param string $key_blob
155 * @param string $hash
180 * @param string $message
181 * @return string
230 * @param string $string
232 * @return string
235 function _string_shift(&$string, $index = 1)
237 $substr = substr($string,
238 $string = substr($string, $index); global() variable
[all...]
/dokuwiki/lib/exe/
H A Djs.php167 * @param string $file filename path to file
265 * @param string $tpl
308 * @param string $string
309 * @return string
311 function js_escape($string){
312 return str_replace('\\\\n','\\n',addslashes($string));
320 * @param string $func
336 * @param string $s
337 * @return string
428 $string = substr($s,$i,$j+1); global() variable
430 $string = str_replace("\\\\\\n",'',$string); global() variable
446 $string = substr($s,$i,$j+1); global() variable
448 $string = str_replace("\\\\\\n",'',$string); global() variable
[all...]
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php60 * @param string $data The popularity data
61 * @return string An empty string if everything worked fine, a string describing the error otherwise
90 * @return string The popularity data as a string
95 $string = ''; variable
98 $string .= hsc($key)."\t".hsc($v)."\n";
100 $string .= hsc($key)."\t".hsc($val)."\n";
103 return $string;
[all...]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php50 * @param string $file
101 * Alternatively a fixed string prefix may be passed in $strip. If the filename matches this prefix,
110 * @param string $outdir the target directory for extracting
111 * @param int|string $strip either the number of path components or a fixed prefix to strip
112 * @param string $exclude a regular expression of files to exclude
113 * @param string $include a regular expression of files to include
251 * @param string $file
275 * @param string $file path to the original file
276 * @param string|FileInfo $fileinfo either the name to us in archive (string) o
[all...]
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php110 // Important string starter/finisher
230 * @var string
236 * @var string
248 * @var string
254 * @var string
319 * @var string
325 * @var string
331 * @var string
337 * @var string
364 * @var string
2578 $string = "<span$string_attributes>" . GeSHi::hsc($char); global() variable
2736 $string = str_replace("\\n", "</span>\\n<span$string_attributes>", $string); global() variable
2740 $string = ''; global() variable
2758 $string = ''; global() variable
2794 $string = substr($part, $i, $close_pos - $i + 1); global() variable
2834 $string = $new_string . $this->hsc(substr($string, $start)); global() variable
2836 $string = $this->hsc($string); global() variable
2845 $string = str_replace("\\n", "</span>\\n<span$string_attributes>", $string); global() variable
2849 $string = ''; global() variable
[all...]
/dokuwiki/inc/
H A Dindexer.php31 * @return int|string
51 * Measure the length of a string.
56 * @param string $w
111 * @param string $page name of the page to index
114 * @return string|boolean the function completed successfully
230 * Split a string into tokens
232 * @param string $string
237 function idx_tokenizer($string, $wc=false) {
239 return $Indexer->tokenizer($string,
[all...]
H A Dcommon.php23 * @param string $string the string being converted
24 * @return string converted string
26 function hsc($string) {
27 return htmlspecialchars($string, ENT_QUOTES, 'UTF-8');
44 * @param bool $trim Consider a string of whitespace to be blank
57 * print a newline terminated string
63 * @param string
[all...]
H A Dutf8.php108 function utf8_substr_replace($string, $replacement, $start, $length = 0)
111 return PhpString::substr_replace($string, $replacement, $start, $length);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php101 * @var string
110 * @var string
119 * @var string
128 * @var string
137 * @var string
146 * @var string
154 * @param string $hash
182 * @param string $key
194 * will first hash the key using H and then use the resultant L byte string as the actual key to HMAC."
232 * @return string
890 $string = substr($string, $index); global() variable
[all...]
H A DRSA.php332 * @var string
404 * @var string
446 * @var string
725 * @return string
807 $private.= Random::string(16 - (strlen($private) & 15));
854 $checkint = Random::string(4);
925 $salt = Random::string(8);
977 $iv = Random::string(8);
1007 * @return string|array<string,Math_BigIntege
2095 $string = substr($string, $index); global() variable
[all...]
H A DRandom.php13 * echo bin2hex(\phpseclib\Crypt\Random::string(8));
37 * Generate a random string.
44 * @return string
46 static function string($length) function
58 // We don't actually need to do anything here. The string() method should just continue
/dokuwiki/inc/HTTP/
H A DHTTPClient.php93 * @param string $url The URL to fetch
95 * @return false|string response body, false on error
114 * @param string $url The URL to fetch
117 * @return false|string response body, false on error
136 * @param string $url The URL to fetch
138 * @return false|string response body, false on error
153 * Post data should be passed as associative array. When passed as string it will be
156 * @param string $url - the complete URL
158 * @param string $method - HTTP Method usually GET or POST.
505 * @param string
792 $string = ''; global() variable
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php215 * Returns when a string matching $expect exactly is found
219 * Returns when a string matching the regular expression $expect is found
227 * @var string
265 * @var string
276 * @var string
287 * @var string
298 * @var string
342 * @var string
455 * @var string
500 * @param string
1327 $string = substr($string, $index); global() variable
[all...]
/dokuwiki/lib/plugins/authldap/
H A Dauth.php51 * @param string $user
52 * @param string $pass
74 // special bind string
130 * name string full name of the user
131 * mail string email addres of the user
137 * dn string distinguished name (DN)
138 * uid string Posix User ID
141 * @param string $user
158 * @param string $user
314 * @param string
[all...]

Completed in 44 milliseconds

12