Jump to content

FrontController vs FrontControllerCore


Recommended Posts

I am using PS  In going through the code, I see the definition of FrontControllerCore (extends Controller in FrontController.php), and I also see where IndexControllerCore extends FrontController (IndexController.php).


However, I am not able to find the relationship between FrontController class and FrontControllerCore class.  I am sure that I am missing something pretty easy, but I still can't find it.


Can someone let me know where these relationship (assuming there is one) exists in the code?


Again, I am using out-of-the-box  Thanks.

Link to comment
Share on other sites

The <classname> is functionally exactly the same as the <classname>Core class, used to give a separation layer between the definition and use in the app.


It is handled in classes/PrestashopAutoLoad.php I believe. Have a look at function load($classname) in this file.


Hope this helps,


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...