问个问题,怎么修改thinkphp框架XXAction的error方法
thinkphp吧
全部回复
仅看楼主
level 1
问个问题,怎么修改thinkphp框架XXAction的error方法,既然是继承,肯定能多态,我看到过把error改成AjaxRtun方法的,我只是想知道Thinkphp的多态写在哪里
2013年03月25日 09点03分 1
level 7
@破离只为伤 在你的XXAction里面在写一个error方法就行
这个叫覆盖.
2013年04月19日 02点04分 2
1