\Pinyin_Pinyin

Summary

Methods
Properties
Constants
ChineseToPinyin()
get_first_char()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
splitString()
toPinyinList()
No private properties found
N/A

Methods

ChineseToPinyin()

ChineseToPinyin(string  $string, boolean  $isSimple = true, boolean  $isInitial = false, boolean  $isPolyphone = false, boolean  $isAll = false) : mixed

Parameters

string $string
boolean $isSimple
boolean $isInitial
boolean $isPolyphone
boolean $isAll

Returns

mixed

get_first_char()

get_first_char(  $string) 

Parameters

$string

splitString()

splitString(string  $string) : array

Parameters

string $string

Returns

array

toPinyinList()

toPinyinList(array  $arrStringList) : array

Parameters

array $arrStringList

Returns

array