CodeIgniter Forums
Loading views in __contstruct() - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Loading views in __contstruct() (/thread-46196.html)

Loading views in __contstruct() - El Forum - 10-22-2011


Is it ok to load shared views in __construct. All of my functions in given controller shares a header. And also, is there a way to load shared footer, similiar to loading views in constructor?