[eluser]Popcorn[/eluser]
Hi,
I have been using PHP for a number of years now and understand a good amount of OOP (Interfaces, Design Patterns and what not).
I wanted to understand how the Super Object class in CodeIgniter works. I know it uses a Singleton design pattern to return an object, but I don't quite understand how the other classes make use of this, since all clases don't have this implementation?
I think the database classes, libraries are referenced to the super object and are all accesible from that? I'm not sure.
If someone could provide a small example that would be fantastic.
Kind Regards,
-Mathew