ThinkPHP3.2.x 如何在 函数中使用 $this ?

浏览:3413 发布日期:2014/09/12 分类:求助交流 关键字: thinkphp
thinkphp 3.2.x 函数库文件 /application/Common/Common/functions.php
函数 assignSeoData()。function assignSeoData(&$currThis,$title,$keywords,$desc){
        $currThis->assign('title',$title)
                ->assign('keywords',$keywords)
                ->assign('desc',$desc);
}
如何在这个里面使用 $this ?


最佳答案
评论( 相关
后面还有条评论,点击查看>>