class JStringWrapperPunycode

Wrapper class for JStringPunycode

Methods

string
toPunycode( string $utfString)

Helper wrapper method for toPunycode

string
fromPunycode( string $punycodeString)

Helper wrapper method for fromPunycode

string
urlToPunycode( string $uri)

Helper wrapper method for urlToPunycode

string
urlToUTF8( string $uri)

Helper wrapper method for urlToUTF8

string
emailToPunycode( string $email)

Helper wrapper method for emailToPunycode

string
emailToUTF8( string $email)

Helper wrapper method for emailToUTF8

Details

string toPunycode( string $utfString)

Helper wrapper method for toPunycode

Parameters

string $utfString The UTF-8 string to transform.

Return Value

string The punycode string.

See also

JUserHelper::toPunycode()

string fromPunycode( string $punycodeString)

Helper wrapper method for fromPunycode

Parameters

string $punycodeString The Punycode string to transform.

Return Value

string The UF-8 URL.

See also

JUserHelper::fromPunycode()

string urlToPunycode( string $uri)

Helper wrapper method for urlToPunycode

Parameters

string $uri The UTF-8 URL to transform.

Return Value

string The punycode URL.

See also

JUserHelper::urlToPunycode()

string urlToUTF8( string $uri)

Helper wrapper method for urlToUTF8

Parameters

string $uri The Punycode URL to transform.

Return Value

string The UTF-8 URL.

See also

JStringPunycode::urlToUTF8()

string emailToPunycode( string $email)

Helper wrapper method for emailToPunycode

Parameters

string $email The UTF-8 email to transform.

Return Value

string The punycode email.

See also

JStringPunycode::emailToPunycode()

string emailToUTF8( string $email)

Helper wrapper method for emailToUTF8

Parameters

string $email The punycode email to transform.

Return Value

string The punycode email.

See also

JStringPunycode::emailToUTF8()