Elgg  Version 6.1
Functions
mb_wrapper.php File Reference

Go to the source code of this file.

Functions

 elgg_parse_str ($str)
 Elgg UTF-8 string functions. More...
 
 elgg_stristr ()
 Wrapper function for mb_stristr(). More...
 
 elgg_strlen ()
 Wrapper function for mb_strlen(). More...
 
 elgg_strpos ()
 Wrapper function for mb_strpos(). More...
 
 elgg_strrpos ()
 Wrapper function for mb_strrpos(). More...
 
 elgg_strstr ()
 Wrapper function for mb_strstr(). More...
 
 elgg_strtolower ()
 Wrapper function for mb_strtolower(). More...
 
 elgg_strtoupper ()
 Wrapper function for mb_strtoupper(). More...
 
 elgg_ucwords ($str)
 Wrapper for mb_convert_case($str, MB_CASE_TITLE) More...
 
 elgg_substr_count ()
 Wrapper function for mb_substr_count(). More...
 
 elgg_substr ()
 Wrapper function for mb_substr(). More...
 

Function Documentation

elgg_parse_str (   $str)

Elgg UTF-8 string functions.

Parses a string using mb_parse_str() if available. NOTE: This differs from parse_str() by returning the results instead of placing them in the local scope!

Parameters
string$strThe string
Returns
array
Since
1.7.0
Examples:
/root/Elgg/engine/classes/Elgg/Http/Urls.php.

Definition at line 16 of file mb_wrapper.php.

elgg_stristr ( )

Wrapper function for mb_stristr().

Falls back to stristr() if mb_stristr() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
false|string
Since
1.7.0

Definition at line 35 of file mb_wrapper.php.

elgg_strlen ( )

Wrapper function for mb_strlen().

Falls back to strlen() if mb_strlen() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
int
Since
1.7.0
Examples:
/root/Elgg/engine/classes/Elgg/Http/Urls.php.

Definition at line 53 of file mb_wrapper.php.

elgg_strpos ( )

Wrapper function for mb_strpos().

Falls back to strpos() if mb_strpos() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
false|int
Since
1.7.0
Examples:
/root/Elgg/engine/lib/output.php.

Definition at line 71 of file mb_wrapper.php.

elgg_strrpos ( )

Wrapper function for mb_strrpos().

Falls back to strrpos() if mb_strrpos() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
false|int
Since
1.7.0

Definition at line 89 of file mb_wrapper.php.

elgg_strstr ( )

Wrapper function for mb_strstr().

Falls back to strstr() if mb_strstr() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
false|string
Since
1.7.0

Definition at line 107 of file mb_wrapper.php.

elgg_strtolower ( )

Wrapper function for mb_strtolower().

Falls back to strtolower() if mb_strtolower() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
string
Since
1.7.0

Definition at line 125 of file mb_wrapper.php.

elgg_strtoupper ( )

Wrapper function for mb_strtoupper().

Falls back to strtoupper() if mb_strtoupper() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
string
Since
1.7.0

Definition at line 143 of file mb_wrapper.php.

elgg_substr ( )

Wrapper function for mb_substr().

Falls back to substr() if mb_substr() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
string
Since
1.7.0
Examples:
/root/Elgg/engine/classes/Elgg/Http/Urls.php, and /root/Elgg/engine/lib/output.php.

Definition at line 195 of file mb_wrapper.php.

elgg_substr_count ( )

Wrapper function for mb_substr_count().

Falls back to substr_count() if mb_substr_count() isn't available. Parameters are passed to the wrapped function in the same order they are passed to this function.

Returns
int
Since
1.7.0

Definition at line 177 of file mb_wrapper.php.

elgg_ucwords (   $str)

Wrapper for mb_convert_case($str, MB_CASE_TITLE)

Parameters
string$strString
Returns
string
Since
2.3

Definition at line 160 of file mb_wrapper.php.