JStringWrapperNormalise

Wrapper class for JStringNormalise

deprecated
package

Joomla.Platform

subpackage

String

since

3.4

deprecated

4.0 Will be removed without replacement

Methods

fromCamelCase

Helper wrapper method for fromCamelCase

fromCamelCase(string $input, boolean $grouped = false) : mixed
see \JUserHelper::fromCamelCase()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

$grouped

booleanOptionally allows splitting on groups of uppercase characters.

Response

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

toCamelCase

Helper wrapper method for toCamelCase

toCamelCase(string $input) : string
see \JUserHelper::toCamelCase()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

Response

stringThe camel case string.

toDashSeparated

Helper wrapper method for toDashSeparated

toDashSeparated(string $input) : string
see \JUserHelper::toDashSeparated()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

Response

stringThe dash separated string.

toKey

Helper wrapper method for toKey

toKey(string $input) : string
see \JUserHelper::toKey()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

Response

stringThe key string.

toSpaceSeparated

Helper wrapper method for toSpaceSeparated

toSpaceSeparated(string $input) : string
see \JUserHelper::toSpaceSeparated()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

Response

stringThe space separated string.

toUnderscoreSeparated

Helper wrapper method for toUnderscoreSeparated

toUnderscoreSeparated(string $input) : string
see \JUserHelper::toUnderscoreSeparated()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

Response

stringThe underscore separated string.

toVariable

Helper wrapper method for toVariable

toVariable(string $input) : string
see \JUserHelper::toVariable()
since

3.4

Arguments

$input

stringThe string input (ASCII only).

Response

stringThe variable string.