|

楼主 |
发表于 2010-3-16 08:12:44
|
显示全部楼层
回复 2# saturn
我为什么有这个想法,因为我看到,在Controller中,都是 $this->load->view('test.php'),的方式来调用的,并且在view中也可以这样写,那是不是说,这个test.php是这个对象一部分?
我不想在test.php中用$this->load->view('header.php')的这种方式来调用,而用一个函数比如get_view('header')来达到想到的结果呢? |
|