Elgg  Version 2.3
Namespaces | Functions | Variables
mb_wrapper.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Functions

 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_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...
 

Variables

return function (\Elgg\EventsService $events,\Elgg\HooksRegistrationService $hooks)
 

Function Documentation

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 19 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 38 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 55 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 72 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 89 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 106 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 123 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

Definition at line 140 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 157 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 174 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 191 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 239 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 222 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 206 of file mb_wrapper.php.

Variable Documentation

Definition at line 247 of file mb_wrapper.php.