[SOLVED] Tutorial Error - Style Guide |
Hey Guys,
I just thought I'd point out an error on the style guide tutorial here: http://www.codeigniter.com/user_guide/ge...ile-naming We all know that class files should all be in lower case, However the tutorial states this: " For example, if you have a class named Myclass, then its filename must be Myclass.php. " The capital 'M' is incorrect, hopefully either I'm wrong or this will be fixed soon. Silverblade
The style guide is correct. The CodeIgniter convention is for class names, and the files containing them, to be UCfirst.
The file Myclass.php should define the class Myclass. |
Welcome Guest, Not a member yet? Register Sign In |