ElggTranslit Class Reference

List of all members.

Static Public Member Functions

static urlize ($string, $separator= '-')
 Create a version of a string for embedding in a URL.
static transliterateAscii ($utf8)
 Transliterate Western multibyte chars to ASCII.
static getAsciiTranslitMap ()
 Get array of UTF-8 (NFC) character replacements.
static hasNormalizerSupport ()
 Tests that "normalizer_normalize" exists and works.

Detailed Description

Definition at line 30 of file ElggTranslit.php.


Member Function Documentation

static ElggTranslit::getAsciiTranslitMap (  )  [static]

Get array of UTF-8 (NFC) character replacements.

Returns:
array

Definition at line 130 of file ElggTranslit.php.

static ElggTranslit::hasNormalizerSupport (  )  [static]

Tests that "normalizer_normalize" exists and works.

Returns:
bool

Definition at line 263 of file ElggTranslit.php.

static ElggTranslit::transliterateAscii ( utf8  )  [static]

Transliterate Western multibyte chars to ASCII.

Parameters:
string $utf8 a UTF-8 string
Returns:
string

Definition at line 114 of file ElggTranslit.php.

static ElggTranslit::urlize ( string,
separator = '-' 
) [static]

Create a version of a string for embedding in a URL.

Parameters:
string $string A UTF-8 string
string $separator The character to separate words with
Returns:
string

Definition at line 39 of file ElggTranslit.php.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations
Generated on Mon May 20 00:01:25 2013 for Elgg by  doxygen 1.6.3