CodeIgniter Simple and Secure Twig |
(02-21-2016, 09:41 PM)kenjis Wrote:(02-21-2016, 06:15 PM)thocutt1020 Wrote: I think this is awesome library Kenji! Thanks for your response! I see what you are saying... maybe I can get the functionality I want by creating helper functions and then calling them from within the twig. I will try that. One other question I was wondering about. With views, you used to be able to store the output in a variable i.e.. $string = $this->load->view('myfile', '', true); Can you achieve same result with twig? $string = $this->twig->display('myfile.html', '', true); |
Welcome Guest, Not a member yet? Register Sign In |