【发布时间】:2016-05-15 19:56:01
【问题描述】:
$this 用于当前类,view 是方法,但 load 是什么。这是财产吗?
这个例子正确吗?
class super{
public $property;
public function superf1()
{
echo "hello";
}
public function col()
{
$this->superf1();
}
$this->property->super1();
}
【问题讨论】:
标签: php codeigniter oop