common.php 368 B

123456789101112131415
  1. <?php
  2. function regPinyin()
  3. {
  4. $class = new Pinyin\Lib\Convert();
  5. Dever::reg('getPinyinFunc', $class);
  6. Dever::reg('getPinyin', $class);
  7. Dever::reg('getPinyinName', $class);
  8. Dever::reg('getPinyinContent', $class);
  9. Dever::reg('getPinyinFirst', $class);
  10. Dever::reg('sortPinyinFirst', $class);
  11. Dever::reg('groupByPinyinFirst', $class);
  12. }
  13. regPinyin();