![]() |
Get Loaded View. How to tell what view is loaded - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Get Loaded View. How to tell what view is loaded (/showthread.php?tid=41550) |
Get Loaded View. How to tell what view is loaded - El Forum - 05-10-2011 [eluser]Unknown[/eluser] Is there a way to find out what view is loaded from anywhere in your application or at least in your view file (without having to do $loaded_view = 'my_view.php'). I want to find the info programmatically. Thanks! Get Loaded View. How to tell what view is loaded - El Forum - 05-10-2011 [eluser]toopay[/eluser] Extending the loader class, and put log function within view() function. |