Join GitHub today
The controller class
The controller has the public methods (callable from url or from templates) that displays or perform actions over the model, which update the database. The controller class is extended by all specific module controllers. It acts like an interface used to control and view the model datas. Clearly every module has its own public interfaces, so every controller is different. That's why the controller class only implements the constructor method which instantiates some global properties.