Open Green

Using Controllers

Back to the manual

What are controllers? Controllers (the C of MVC) are the classes where you put your actions (functions/methods), which hold your code. They can fool around with models, can be extended by helpers, and can set a non-default layout/view.

Back to the manual