Abstract Class JStringPunycode

Description

Joomla Platform String Punycode Class

Class for handling UTF-8 URLs Wraps the Punycode library All functions assume the validity of utf-8 URLs.

  • abstract:
  • since: 3.1.2

Located in /libraries/joomla/string/punycode.php (line 25)


	
			
Method Summary
 static string emailToPunycode (string $email)
 static string emailToUTF8 (string $email)
 static string fromPunycode (string $punycodeString)
 static string toPunycode (string $utfString)
 static string urlToPunycode (string $uri)
 static string urlToUTF8 (string $uri)
Methods
static emailToPunycode (line 197)

Transforms a UTF-8 e-mail to a Punycode e-mail This assumes a valid email address

  • return: The punycode e-mail
  • since: 3.1.2
  • access: public
static string emailToPunycode (string $email)
  • string $email: The UTF-8 e-mail to transform
static emailToUTF8 (line 232)

Transforms a Punycode e-mail to a UTF-8 e-mail This assumes a valid email address

  • return: The punycode e-mail
  • since: 3.1.2
  • access: public
static string emailToUTF8 (string $email)
  • string $email: The punycode e-mail to transform
static fromPunycode (line 52)

Transforms a Punycode string to a UTF-8 string

  • return: The UF-8 URL
  • since: 3.1.2
  • access: public
static string fromPunycode (string $punycodeString)
  • string $punycodeString: The Punycode string to transform
static toPunycode (line 36)

Transforms a UTF-8 string to a Punycode string

  • return: The punycode string
  • since: 3.1.2
  • access: public
static string toPunycode (string $utfString)
  • string $utfString: The UTF-8 string to transform
static urlToPunycode (line 69)

Transforms a UTF-8 URL to a Punycode URL

  • return: The punycode URL
  • since: 3.1.2
  • access: public
static string urlToPunycode (string $uri)
  • string $uri: The UTF-8 URL to transform
static urlToUTF8 (line 130)

Transforms a Punycode URL to a UTF-8 URL

  • return: The UTF-8 URL
  • since: 3.1.2
  • access: public
static string urlToUTF8 (string $uri)
  • string $uri: The Punycode URL to transform

Documentation generated on Tue, 19 Nov 2013 15:11:25 +0100 by phpDocumentor 1.4.3