OssnTranslit Class Reference

Static Public Member Functions

static urlize ($string, $separator= '-')
 
static transliterateAscii ($utf8)
 
static getAsciiTranslitMap ()
 
static hasNormalizerSupport ()
 

Detailed Description

Definition at line 34 of file OssnTranslit.php.

Member Function Documentation

static getAsciiTranslitMap ( )
static

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

Returns
array

Definition at line 128 of file OssnTranslit.php.

static hasNormalizerSupport ( )
static

Tests that "normalizer_normalize" exists and works

Returns
bool

Definition at line 261 of file OssnTranslit.php.

static transliterateAscii (   $utf8)
static

Transliterate Western multibyte chars to ASCII

Parameters
string$utf8a UTF-8 string
Returns
string

Definition at line 112 of file OssnTranslit.php.

static urlize (   $string,
  $separator = '-' 
)
static

Create a version of a string for embedding in a URL

Parameters
string$stringA UTF-8 string
string$separatorThe character to separate words with
Returns
string

Definition at line 43 of file OssnTranslit.php.


The documentation for this class was generated from the following file: