• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Organizing controllers into subfolders

[eluser]omed habib[/eluser]
I have the url:


The controller is located in:


The question is...what do I put in this controller file? What do I name the class? Index?

[eluser]Michael Wales[/eluser]
1. Don't put controllers in subfolders.
2. Read the Controllers documentation - there are some great examples in there as to what exactly you need to do.

[eluser]Glen Swinfield[/eluser]
Actually you can put controllers in sub folders. But read the documentation, it explains exactly what you want to know.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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