[Yii Framework] 创建helper的注意事项

在helper的extension里面,所有的方法只能是静态方法,就好像是全局方法一样,它的类名只是作为它的命名空间

原文地址:https://www.cnblogs.com/davidhhuan/p/1717039.html