An OpenCart top level controller is responsible for orchestrating the complete construction of an OpenCart page.
As an example, the ControllerCheckoutCart controller class is responsible for coordinating the model data and the template view necessary to create a checkout cart page for the client.
Another example is the ControllerCommonHome controller class, which is responsible for the main store view that customers see when they first visit.
Common Base Class
All controllers in OpenCart share a common ancestor, the Controller class, located in the DIR_APPLICATION/system/engine/controller.php file. This class is described in The OpenCart Controller Base Class
The Index Method
© 2009, Sam Mela. All rights reserved.
No Comments so far ↓
There are no comments yet...Kick things off by filling out the form below.