The Transliterator class
(PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0)
簡介
Transliterator provides transliteration of strings.
類摘要
class Transliterator
{
/* 常量 */
/* 屬性 */
/* 方法 */
public static createFromRules(string
}$rules
, int $direction
= Transliterator::FORWARD): ?Transliterator屬性
- id
預定義常量
Transliterator::FORWARD
Transliterator::REVERSE
目錄
- Transliterator::__construct — Private constructor to deny instantiation
- Transliterator::create — Create a transliterator
- Transliterator::createFromRules — Create transliterator from rules
- Transliterator::createInverse — Create an inverse transliterator
- Transliterator::getErrorCode — Get last error code
- Transliterator::getErrorMessage — Get last error message
- Transliterator::listIDs — Get transliterator IDs
- Transliterator::transliterate — Transliterate a string