Definition at line 31 of file Translit.php.
static Elgg\Translit::getAsciiTranslitMap |
( |
| ) |
|
|
static |
Get array of UTF-8 (NFC) character replacements.
- Returns
- array
Definition at line 125 of file Translit.php.
static Elgg\Translit::hasNormalizerSupport |
( |
| ) |
|
|
static |
Tests that "normalizer_normalize" exists and works.
- Returns
- bool
Definition at line 258 of file Translit.php.
static Elgg\Translit::transliterateAscii |
( |
|
$utf8 | ) |
|
|
static |
Transliterate Western multibyte chars to ASCII.
- Parameters
-
string | $utf8 | a UTF-8 string |
- Returns
- string
Definition at line 109 of file Translit.php.
static Elgg\Translit::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
- Examples:
- /root/Elgg/engine/lib/output.php.
Definition at line 40 of file Translit.php.
The documentation for this class was generated from the following file: