• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference and use of class,library and helper

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.