Welcome Guest, Not a member yet? Register   Sign In
Having tough time with validation_errors
#11

[eluser]bretticus[/eluser]
[quote author="WebsiteDuck" date="1264854962"]You'll have to autoload the Form_validation class before you can extend it... and even then it may clash with the old validation class.
[/quote]

Oh right! I suppose you could autoload form_validation and call your library that extends it something like formval (just not validation.)

[quote author="WebsiteDuck" date="1264854962"]
This whole thing doesn't seem like a good idea...just to save a few keystrokes. It will certainly confuse anyone else that may work on your code.[/quote]

I think I have to agree. One thing that is good about using a popular framework is that the documentation is good enough that another programmer should be able to take your code in the future (or present collaboration) and be able to have a reference for what you are building (or have built.)

Besides, there are plenty of IDE's that can auto-complete these for you. (hint: I use netbeans. See this tutorial.)




Theme © iAndrew 2016 - Forum software by © MyBB