Welcome Guest, Not a member yet? Register   Sign In
How do I create a nested view within a nested view?
#10

(09-26-2017, 10:43 PM)InsiteFX Wrote: You can use an undocumented CodeIgniter method:

PHP Code:
$data = array();

$data['title' 'My Title';
$data['header'] = 'My Header';
 
/**
 * CodeIgniter Undocumented vars method.
 * This method caches all the data global
 * to the views.
 */
$this->load->vars($data);
 
$this->load->view('Your_View'); 

Not busting your chops but the method is documented HERE.
Reply


Messages In This Thread
RE: How do I create a nested view within a nested view? - by dave friend - 09-27-2017, 01:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB