How to output the variables to all the views files |
Not sure if this what you mean but it will persist the data.
PHP Code: echo view('blogview', $data, ['saveData' => true]); Additionally, if you would like the default functionality of the view method to be that it does save the data between calls, you can set $saveData to true in application/Config/Views.php. See Also: View Renderer What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Messages In This Thread |
How to output the variables to all the views files - by startbbs - 11-16-2016, 09:30 AM
RE: How to output the variables to all the views files - by InsiteFX - 11-16-2016, 09:56 AM
RE: How to output the variables to all the views files - by startbbs - 11-16-2016, 05:24 PM
RE: How to output the variables to all the views files - by Narf - 11-16-2016, 03:33 PM
|