输入banner图图片脚本导航/分类

ThinkPHPmodel里面的函数调用怎么写?

就是说,像下面的图里面,funcA里怎么调用funcB?

回复内容:

就是说,像下面的图里面,funcA里怎么调用funcB?

public function funcA($catID){
   return $this->funcB($catID);
}           

                                 

先用D方法把模型引来,在用$this->调用.

看不明白你想表达啥?

$this->funcb()