Welcome Guest, Not a member yet? Register   Sign In
Difference and use of class,library and helper
#1

[eluser]Tanvir[/eluser]
One thing is confusing me. Can I use all the classes,helpers and library classes in any controller class AND view file. I mean can they be used anywhere or only in controller classes. If not which is to use where. Since I can use base_url(),anchor() both in controller and view file, then whats d difference. Why should I use controller class if I can use all the classes in view file ?

And what is d difference between class and library, If I make my own utility class where should I put it- in library folder or helper?

One more thing- what is the "models" folder for ?

Pls help




Theme © iAndrew 2016 - Forum software by © MyBB