String handling class for utf-8 data Wraps the phputf8 library All functions assume the validity of utf-8 strings.
- Depuis
- 1.7.0
- Obsolète:
- 4.0 Use Joomla\String\StringHelperinsteadunlessotherwisenoted.
◆ parse_url()
Does a UTF-8 safe version of PHP parse_url function
- Paramètres
-
- Renvoie
- mixed Associative array or false if badly formed URL.
1.7.0 deprecated 476.
Références $url.
◆ splitCamelCase()
static splitCamelCase |
( |
|
$string | ) |
|
|
static |
Split a string in camel case format
"FooBarABCDef" becomes array("Foo", "Bar", "ABC", "Def"); "JFooBar" becomes array("J", "Foo", "Bar"); "J001FooBar002" becomes array("J001", "Foo", "Bar002"); "abcDef" becomes array("abc", "Def"); "abc_defGhi_Jkl" becomes array("abc_def", "Ghi_Jkl"); "ThisIsA_NASAAstronaut" becomes array("This", "Is", "A_NASA", "Astronaut")), "JohnFitzgerald_Kennedy" becomes array("John", "Fitzgerald_Kennedy")),
- Paramètres
-
string | $string | The source string. |
- Renvoie
- array The splitted string.
- Obsolète:
- 4.0 - Use JStringNormalise::fromCamelCase()
- Depuis
- 1.7.3
La documentation de cette classe a été générée à partir du fichier suivant :