ResourceBundle::getLocales
Transliterator::__construct
intl
PHP Manual
The Transliterator class
简介
Transliterator provides transliteration of strings.
类摘要
Transliterator
{
/* 常量 */
const
integer
Transliterator::FORWARD
= 0
;
const
integer
Transliterator::REVERSE
= 1
;
/* 属性 */
public
$id
;
/* 方法 */
__construct
(
void
)
public
static
Transliterator
create
(
string
$id
[,
int
$direction
] )
public
static
Transliterator
createFromRules
(
string
$rules
[,
string
$direction
] )
public
Transliterator
createInverse
(
void
)
public
int
getErrorCode
(
void
)
public
string
getErrorMessage
(
void
)
public
static
array
listIDs
(
void
)
public
void
transliterate
(
string
$subject
[,
string
$start
[,
string
$end
]] )
}
属性
id
预定义常量
Transliterator Node Types
Transliterator::FORWARD
Transliterator::REVERSE
Table of Contents
Transliterator::__construct
— Construct a Transliterator object
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
ResourceBundle::getLocales
Transliterator::__construct
intl
PHP Manual