Property | Type | Description | |
---|---|---|---|
$configuration | Load transliteration system configuration. |
Method | Description | |
---|---|---|
__construct ( $file ) | Transliteration system's constructor | |
__toString ( ) | Implement magic method __toString(). | |
transliterate ( string $str ) : string | Transliterate a string from an alphabet into another alphabet as per the workflow specified in the configuration file. |
Method | Description | |
---|---|---|
postTransliterate ( string $str ) : string | To be executed after the transliteration workflow. | |
preTransliterate ( string $str ) : string | To be executed before the transliteration workflow. |
abstract public __toString ( ) |
protected postTransliterate ( string $str ) : string | ||
$str | string | The transliterated string. |
return | string | The transliterated string. |
protected preTransliterate ( string $str ) : string | ||
$str | string | The input string. |
return | string | The string ready for transliteration. |
public transliterate ( string $str ) : string | ||
$str | string | The string to be converted. |
return | string | Converted string. |