class JStringWrapperNormalise

Wrapper class for JStringNormalise

Methods

mixed
fromCamelCase( string $input, boolean $grouped = false)

Helper wrapper method for fromCamelCase

string
toCamelCase( string $input)

Helper wrapper method for toCamelCase

string
toDashSeparated( string $input)

Helper wrapper method for toDashSeparated

string
toSpaceSeparated( string $input)

Helper wrapper method for toSpaceSeparated

string
toUnderscoreSeparated( string $input)

Helper wrapper method for toUnderscoreSeparated

string
toVariable( string $input)

Helper wrapper method for toVariable

string
toKey( string $input)

Helper wrapper method for toKey

Details

mixed fromCamelCase( string $input, boolean $grouped = false)

Helper wrapper method for fromCamelCase

Parameters

string $input The string input (ASCII only).
boolean $grouped Optionally allows splitting on groups of uppercase characters.

Return Value

mixed The space separated string or an array of substrings if grouped is true.

See also

JUserHelper::fromCamelCase()

string toCamelCase( string $input)

Helper wrapper method for toCamelCase

Parameters

string $input The string input (ASCII only).

Return Value

string The camel case string.

See also

JUserHelper::toCamelCase()

string toDashSeparated( string $input)

Helper wrapper method for toDashSeparated

Parameters

string $input The string input (ASCII only).

Return Value

string The dash separated string.

See also

JUserHelper::toDashSeparated()

string toSpaceSeparated( string $input)

Helper wrapper method for toSpaceSeparated

Parameters

string $input The string input (ASCII only).

Return Value

string The space separated string.

See also

JUserHelper::toSpaceSeparated()

string toUnderscoreSeparated( string $input)

Helper wrapper method for toUnderscoreSeparated

Parameters

string $input The string input (ASCII only).

Return Value

string The underscore separated string.

See also

JUserHelper::toUnderscoreSeparated()

string toVariable( string $input)

Helper wrapper method for toVariable

Parameters

string $input The string input (ASCII only).

Return Value

string The variable string.

See also

JUserHelper::toVariable()

string toKey( string $input)

Helper wrapper method for toKey

Parameters

string $input The string input (ASCII only).

Return Value

string The key string.

See also

JUserHelper::toKey()