• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.