CodeIgniter Forums
Class not found - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Class not found (/showthread.php?tid=11294)

Pages: 1 2


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

[eluser]gtipete[/eluser]
[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.