首页 > ThinkPHP model里面的函数调用怎么写?

ThinkPHP model里面的函数调用怎么写?

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


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


$this->funcb()


看不明白你想表达啥?


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

                                 
【热门文章】
【热门文章】