Elgg  Version 1.9
Functions
mb_wrapper.php File Reference

Go to the source code of this file.

Functions

if(is_callable('mb_internal_encoding')) elgg_parse_str ($str)
 Parses a string using mb_parse_str() if available. More...
 
 elgg_split ()
 Wrapper function for mb_split(). 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_strrchr ()
 Wrapper function for mb_strrchr(). More...
 
 elgg_strripos ()
 Wrapper function for mb_strripos(). 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_substr_count ()
 Wrapper function for mb_substr_count(). More...
 
 elgg_substr ()
 Wrapper function for mb_substr(). More...
 

Function Documentation

if (is_callable('mb_internal_encoding')) elgg_parse_str (   $str)

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

Definition at line 21 of file mb_wrapper.php.

elgg_split ( )

Wrapper function for mb_split().

Falls back to split() if mb_split() 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 42 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
string
Since
1.7.0

Definition at line 59 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
string
Since
1.7.0
Examples:
/root/Elgg/engine/lib/output.php.

Definition at line 76 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
string
Since
1.7.0

Definition at line 93 of file mb_wrapper.php.

elgg_strrchr ( )

Wrapper function for mb_strrchr().

Falls back to strrchr() if mb_strrchr() 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 110 of file mb_wrapper.php.

elgg_strripos ( )

Wrapper function for mb_strripos().

Falls back to strripos() if mb_strripos() 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 127 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
int
Since
1.7.0
Examples:
/root/Elgg/engine/lib/output.php.

Definition at line 144 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
bool
Since
1.7.0

Definition at line 161 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 178 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 195 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/lib/output.php.

Definition at line 229 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 212 of file mb_wrapper.php.