123456789101112131415 |
- <?php
- function regPinyin()
- {
- $class = new Pinyin\Lib\Convert();
- Dever::reg('getPinyinFunc', $class);
- Dever::reg('getPinyin', $class);
- Dever::reg('getPinyinName', $class);
- Dever::reg('getPinyinContent', $class);
- Dever::reg('getPinyinFirst', $class);
- Dever::reg('sortPinyinFirst', $class);
- Dever::reg('groupByPinyinFirst', $class);
- }
- regPinyin();
|