Welcome Guest, Not a member yet? Register   Sign In
Controller file and class names...
#1

[eluser]xerobytez[/eluser]
This is an issue with CI that has bugged me for quite some time. So I've written a library named settings that manages my applications settings in the database. Now in my admin panel I'd logically like to have a controller named settings where the user can easily change my apps settings. Due to CI's goofy naming conventions I can't have a library and a controller named settings as it creates a collision due to them having the same class name. In a perfect world it would be great if CI had standardized naming conventions for example, model and helper filenames end with _model and _helper respectively. Why don't controllers? or libraries? Has anyone encountered this issue and come up with a solution? Maybe a modified codeigniter and\or router class in the core?

Thanks for reading


Messages In This Thread
Controller file and class names... - by El Forum - 01-11-2013, 01:53 AM
Controller file and class names... - by El Forum - 01-11-2013, 03:23 AM
Controller file and class names... - by El Forum - 01-11-2013, 03:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB