就是说,像下面的图里面,funcA里怎么调用funcB?
先用D方法把模型引来,在用$this->调用.
$this->funcb()
看不明白你想表达啥?
public function funcA($catID){
return $this->funcB($catID);
}
就是说,像下面的图里面,funcA里怎么调用funcB?
先用D方法把模型引来,在用$this->调用.
$this->funcb()
看不明白你想表达啥?
public function funcA($catID){
return $this->funcB($catID);
}