Class JStringWrapperNormalise
Wrapper class for JStringNormalise
Methods summary
public
mixed
|
#
fromCamelCase( string $input, boolean $grouped = false )
Helper wrapper method for fromCamelCase
Helper wrapper method for fromCamelCase
Parameters
- $input
string - $input The string input (ASCII only).
- $grouped
boolean - $grouped Optionally allows splitting on groups of uppercase characters.
Returns
mixed - The space separated string or an array of substrings if grouped is true.
Since
3.4
See
JUserHelper::fromCamelCase()
|
public
string
|
#
toCamelCase( string $input )
Helper wrapper method for toCamelCase
Helper wrapper method for toCamelCase
Parameters
- $input
string - $input The string input (ASCII only).
Returns
string - The camel case string.
Since
3.4
See
JUserHelper::toCamelCase()
|
public
string
|
#
toDashSeparated( string $input )
Helper wrapper method for toDashSeparated
Helper wrapper method for toDashSeparated
Parameters
- $input
string - $input The string input (ASCII only).
Returns
string - The dash separated string.
Since
3.4
See
JUserHelper::toDashSeparated()
|
public
string
|
#
toSpaceSeparated( string $input )
Helper wrapper method for toSpaceSeparated
Helper wrapper method for toSpaceSeparated
Parameters
- $input
string - $input The string input (ASCII only).
Returns
string - The space separated string.
Since
3.4
See
JUserHelper::toSpaceSeparated()
|
public
string
|
#
toUnderscoreSeparated( string $input )
Helper wrapper method for toUnderscoreSeparated
Helper wrapper method for toUnderscoreSeparated
Parameters
- $input
string - $input The string input (ASCII only).
Returns
string - The underscore separated string.
Since
3.4
See
JUserHelper::toUnderscoreSeparated()
|
public
string
|
#
toVariable( string $input )
Helper wrapper method for toVariable
Helper wrapper method for toVariable
Parameters
- $input
string - $input The string input (ASCII only).
Returns
string - The variable string.
Since
3.4
See
JUserHelper::toVariable()
|
public
string
|
#
toKey( string $input )
Helper wrapper method for toKey
Helper wrapper method for toKey
Parameters
- $input
string - $input The string input (ASCII only).
Returns
string - The key string.
Since
3.4
See
JUserHelper::toKey()
|
Magic methods summary