What's the connection between the $CI object and cache file? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: What's the connection between the $CI object and cache file? (/showthread.php?tid=71059) |
What's the connection between the $CI object and cache file? - Andrei0872 - 06-30-2018 So I have this piece of code and I've been wondering what's the relationship between the $CI object and the cache file. This is the code form the Output class, line 449. PHP Code: // Does the $CI object exist? What I'm also confused about is how can the $CI object possibly not be loaded? Which are those cases? And as a last thing(as if it wasn't enough), how can the $CI object influence the cache file, or vice versa? I hope that all my questions are understandable. Any help will be much appreciated. RE: What's the connection between the $CI object and cache file? - InsiteFX - 07-01-2018 $CI is the CodeIgniter Super Object, it's an instance of CodeIgniter. SEE: The CodeIgniter Users Guide. Utilizing CodeIgniter Resources within Your Library RE: What's the connection between the $CI object and cache file? - dave friend - 07-01-2018 (07-01-2018, 03:51 AM)InsiteFX Wrote: $CI is the CodeIgniter Super Object, it's an instance of CodeIgniter. More specifically, it is an instance of the current controller. |