php codeigniter中一次性加载多个view的方法
function somecontrollerfunction() { $data['pagetitle'] = "Welcome to w3mentor.com"; $this->load->view('pageheader', $data); $this->load->view('pagenav'); $this->load->view('pagecontent'); $this->load->view('pagefooter'); }