CodeIgniter Forums
Class not found - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Class not found (/thread-11294.html)

Pages: 1 2

Class not found - El Forum - 09-03-2008

[quote author="drewbee" date="1220495617"]One thing I don't really understand is why you need to extend the authentication class for yoru Gallery class? Your actually breaking the rules of MVC and object orientation. Auth has nothing to do with Galleries. IE Gallery is not a 'type of' Auth. Sure, they should definitely interact, but extension I wouldn't do.[/quote]

i disagree. If i had called Authenticated_controller then maybe it would have made more sense. Then the gallery controller would be a type of Authenticated controller. Either way, i suppose its personal preference.

@inapro - Thanks, that works like a charm.