拼音类。属于InitPHP框架扩展类,需要通过$this->getLibrary()方法获取
$pinyin = $this->getLibrary('pinyin');
class indexController extends Controller {
public $initphp_list = array('test'); //Action白名单
public function run() {
echo $this->getLibrary('pinyin')->pinyin("中国人");
}
public function test() {}
}