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

User Contributed Notes 2 notes
asphp at dsgml dot com ¶
7 years ago
For more documentation see here: http://userguide.icu-project.org/transforms/general
metalinspired ¶
11 months ago
New location of documentation: https://unicode-org.github.io/icu/userguide/transforms/general/