Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JString
+ Graphe d'héritage de JString:

Fonctions membres publiques statiques

static splitCamelCase ($string)
 
static parse_url ($url)
 

Description détaillée

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.

Documentation des fonctions membres

◆ parse_url()

static parse_url (   $url)
static

Does a UTF-8 safe version of PHP parse_url function

Paramètres
string$urlURL to parse
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$stringThe 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 :