Home > Backend Development > PHP Tutorial > PHP里同一个类里的两个步骤可以相互调用吗

PHP里同一个类里的两个步骤可以相互调用吗

WBOY
Release: 2016-06-13 12:27:31
Original
957 people have browsed it

PHP里同一个类里的两个方法可以相互调用吗?
求解啊、、、、、、、、、、、
------解决思路----------------------
当然是可以的
------解决思路----------------------
贴代码,你调的方式有问题
------解决思路----------------------
public function execute_dql_fenye($sql1,$sql2,$fenyePage){
 
}
public function abc(){
  $this->execute_dql_fenye(&$sql1,&$sql2,&$fenyePage);
}

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template