Welcome Guest, Not a member yet? Register   Sign In
Building application structure - problems with controllers?
#4

[eluser]CroNiX[/eluser]
You can't "load" controllers. They get automatically loaded depending on the URL, or route (if used), which is how CI works. You "autoload" the library, which the controllers can then use.

In your controller, you pass data to your template library and it does the manipulation and outputs the final views, depending on what you need.

I'd read the user guide on the differences between libraries and controllers.


Messages In This Thread
Building application structure - problems with controllers? - by El Forum - 07-12-2012, 12:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB