CodeIgniter 中国开发者社区's Archiver
论坛
›
CodeIgniter 问答求助
› ci 基类CI_Controller
hbualong
发表于 2016-7-21 15:26:04
ci 基类CI_Controller
public function __construct()
{
self::$instance =& $this;
$this->load ='a';
}
为什么=& $this 要带& 大神求教
hbualong
发表于 2016-7-21 15:27:38
抢个沙发
Google.com
发表于 2016-7-25 16:59:31
取地址符 将$this的值赋值给self::getInstance
页:
[1]
查看完整版本:
ci 基类CI_Controller